如何实现给国外的客户发邮件而不被过滤?
1、在asp中使用jmail发邮件,发给国内的邮件没有问题,然如发现发给hotmail,邮件就会直接在垃圾邮件中,如何避免这个?
2、公司有自己的服务器,是不是自己搭建一个邮件服务器就可以避免这个问题?若可以,该如何着手?
苦思不得其解,期待热心人帮忙,静候回复。
发件代码如下:
Set mailObj=Server.CreateObject("Jmail.Message")
With mailObj
.Logging = True
.Silent = True
.Charset = "iso-8859-1" .ContentType = "text/html" .MailServerUserName = "lord" .MailServerPassword ="ghost"
.From="Lord@etang.com"
.FromName="Game.com" .AddRecipient Destination .Subject="Your Account Information of Game.com"
.Body=Body
blnErr = .Send("smtp.free.etang.com")
.Close()
End With
Set mailObj=nothing
if blnErr then
strPromptMsg = "The message containing your password has been sent to your mailbox,Check it please "
else
strPromptMsg = "Something Wrong"
End if
问题点数:50、回复次数:2Top
1 楼leocool(金属外壳)回复于 2006-03-02 20:12:02 得分 0
代码是不会有问题的 问题在于发信的服务器IP地址可能被列入黑名单了Top
2 楼CodeBeginner()回复于 2006-03-03 13:24:12 得分 0
期待解决之道。Top




