Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/mdaeo.org/usr/plugins/AMP/Action.php on line 388
华众hzhost发送邮件乱码或空白问题

华众hzhost发送邮件乱码或空白问题

2008-11-09T01:59:36

打开 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
保存.去注册个会员再试试就没问题了.

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合MIP标准。