CDONTS.NewMail发邮件的问题
我使用CDONTS.NewMail组件在本地测试时可以正常的发送邮件。
但传到WEB服务器上使用时,却总是能显示发送成功,却总是收不到信。
请问服务器上需要做那些设置,或者程序需要做什么调整吗?
下面是asp代码:
if request("filetype")="发送文件" then
'开始发送邮件
dim objNewMail,fromEmail,goEmail,strTitle,strContent
fromEmail = "froggy@cnto.com"
goEmail = "pengfroggy@msn.com"
'goEmail = "gdlytj@vip.sina.com;guangdong@cnta.gov.cn"
strTitle = "测试"
strContent = "接口文件已经生成"
set objNewMail = server.CreateObject("cdonts.NewMail")
objNewMail.Send fromEmail,goEmail,strTitle,strContent,2
set objNewMail = nothing
response.Write("<script language=javascript>alert('发送成功!');history.go(-1);</script>")
response.End()
end if