jmail问题
<%
dim jmail, contentid
set jmail = server.createobject( "jmail.message ")
jmail.charset = "gb2312 " ' 邮件字符集,默认为 "us-ascii "
' jmail.isoencodeheaders = false ' 是否进行iso编码,默认为true
jmail.from = "solon@163.com " ' 发送者地址
jmail.fromname = "solon " ' 发送者姓名
jmail.subject = "123 " ' 邮件主题
jmail.mailserverusername = "solon " ' 身份验证的用户名
jmail.mailserverpassword = "19820403 " ' 身份验证的密码
jmail.priority = 3
jmail.addheader "originating-ip ", request.servervariables( "remote_addr ")
jmail.htmlbody = " <html> <head> <meta content=zh-cn http-equiv=content-language> <meta http-equiv= " "content-type " " content= " "text/html; charset=gb2312 " "> <style type=text/css> a:link { font-size: 9pt; text-decoration: none; color: #000000}a:visited {font-size: 9pt; text-decoration: none; color: #666666}a:hover {color: #ff6600; font-size: 9pt; text-decoration: underline}body {font-size: 9pt} --> </style> </head> <body bgcolor= " "#ffffff " " text= " "#666666 " " leftmargin= " "0 " " topmargin= " "30 " " link= " "#ff9900 " "> <center> 点击这里 <a href= ' cid: " & contentid & " ' > [附件文件] </a> 将文件保存 </center> </body> </html> "
jmail.body = "我们 "
jmail.send( "smtp.163.com/ ")
jmail.close()
set jmail = nothing
%>
为什么提示jmail.Message (0x8000FFFF)
The message was undeliverable. All servers failed to receive the message
------解决方案--------------------我BLOG里面有一个jmail的程序,你去看看,