jimail发送错误,这是怎么回事 看看吧有源代码
<html>
<head>
<title>发送表单</title>
<body>
<%
name = Request.Form ("name")
email= Request.Form ("email")
address= Request.Form ("address")
mailsubject= Request.Form ("mailsubject")
text1 = Request.Form ("text1")
text2 = Request.Form ("text2")
text3 = Request.Form ("text3")
%>
<%
' 创建jmail对象:
Set JMail = Server.CreateObject("JMail.SMTPMail")
' 设置发送邮件服务器(SMTP):
JMail.ServerAddress = "smtp.163.com"
' 发件人的信箱:
JMail.Sender = email
' 邮件标题:
JMail.Subject = mailsubject
' 设置邮件的收件人信箱(请使用在我司申请的邮箱):
JMail.AddRecipient "zhy0771@163.com"
' 下面就是填表在内容区填写的内容,&是连接符,vbcrlf表示换行回车:
mess = mess & "---------------Webmail表单开始-------------------" & vbcrlf
mess = mess & "留言人姓名:" & name & vbcrlf
mess = mess & "留言人邮件:" & email & vbcrlf
mess = mess & "留言人地址:" & address & vbcrlf
mess = mess & "留言内容一:" & text1 & vbcrlf
mess = mess & "留言内容二:" & text2 & vbcrlf
mess = mess & "留言内容三:" & text3 & vbcrlf
mess = mess & "---------------Webmail表单结束-------------------"
JMail.Body = mess
' 设置邮件的优先级(1-5,1为最高):
JMail.Priority = 1
' 执行发送任务:
JMail.Execute()
%>
您递交邮件已顺利发出,感谢您的意见和建议!
</body>
</html>
报错:
jmail.SMTPMail 错误 '8000ffff'
The message was undeliverable. All servers failed to receive the message
/send.asp,行48