打开 X:\hzhost\hzhost_master\incs\config.asp
搜索关键字:so-8859-1 将so-8859-1替换为utf-8 一共有两处要修改 如:
Set msg = Server.CreateObject(“JMail.Message”)
msg.silent = false
msg.Logging = true
‘msg.Charset = “so-8859-1″
msg.Charset = “utf-8″
msg.ContentTransferEncoding=”base64″
if smtpauth then
msg.MailServerUserName =sendmail
msg.MailServerPassword = smtppass
end if
msg.From = sendmail ‘ 发件人
msg.FromName =mailname
保存.去注册个会员再试试就没问题了
搜索关键字:so-8859-1 将so-8859-1替换为utf-8 一共有两处要修改 如:
Set msg = Server.CreateObject(“JMail.Message”)
msg.silent = false
msg.Logging = true
‘msg.Charset = “so-8859-1″
msg.Charset = “utf-8″
msg.ContentTransferEncoding=”base64″
if smtpauth then
msg.MailServerUserName =sendmail
msg.MailServerPassword = smtppass
end if
msg.From = sendmail ‘ 发件人
msg.FromName =mailname
保存.去注册个会员再试试就没问题了
声明: 本文采用 BY-NC-SA 协议进行授权 | 漏网小鱼博客
转载请注明转自《华众hzhost发送邮件乱码或空白问题》