我按照这个文章所说的做:------------------------------------------配置环境:.Net Framework 1.1,Imai8.02,w3Jmail4.3实现过程:不同于在Asp中使用Jmail,直接使用 Server.CreateObject("Jmail.Message")就可以了。在.Net环境中,需要进行设置。1.安装jmail4.3 2.找到jmail.dll(Program Files\Dimac\w3JMail4下)3.执行Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\ildasm.exe(可使用Visual Studio .Net 2003 命令提示),格式如下:tlbimp c:\Program Files\Dimac\w3JMail4\jmail.dll /out:myJmail.dll /namespace:myJmail生成myJmail.dll后,copy到web的根目录的bin目录。在ASP.Net页面中,用这个方法引用:Jmail.aspx<%@ Page Language="C#" ContentType="text/html"%><%@ Import Namespace="myJmail" %><script runat="server">protected void Page_Load(Object Src, EventArgs E){ Message jmail=new Message();jmail.From="sss";jmail.AddRecipient("[email protected]",null,null);jmail.MailServerUserName="brookes";jmail.MailServerPassWord="walkor";jmail.Subject="jmail c#";jmail.Send("mail.lsg.com",false);</script>------------------------------------------但结果是有错误提示: System.Runtime.InteropServices.COMException: The message was undeliverable. All servers failed to receive the message而我用asp使用jmail发送是可以发送成功的,请高手指教