求教:发送邮件成功,但邮箱收不到邮件,在线求高手指点。解决即送分!!急
<%
'发送邮件成功,但邮箱收不到邮件。服务器用的是JMail4.0,我试了下面三种都不成功
'Set mail = Server.CreateObject("CDONTS.NewMail")
'mail.TO = "MyEmail@sohu.com"
'mail.From = "MyEmail@hotmail.com"
'mail.Subject = "111"
'mail.Body = "111"
'mail.Send
%>
<%
response.Write"<script>alert('开始发送');</script>"
Set jmail = Server.CreateObject("JMAIL.Message")
jmail.silent = true
Jmail.logging = true
jmail.Charset = "GB2312"
jmail.ContentType = "text/html"
jmail.AddRecipient "MyEmail@hotmail.com"
jmail.From = "MyEmail@sohu.com"
jmail.MailServerUserName = "MyEmail"
jmail.MailServerPassword = "1111"
jmail.Subject = "Mail Subject"
jmail.Body = "Mail Body"
jmail.Send("Server Address")
jmail.Close()
response.Write"<script>alert('发送成功');history.go(-1);</script>"
%>
<%
'Dim MailObject
'Set MailObject = Server.CreateObject("CDONTS.NewMail")
'MailObject.Send "MyEmail@sohu.com","MyEmail@sohu.com","My subject","My text"
%>