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发送邮件乱码或空白问题

Mdaeo'Blog

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

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

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。