开发者

How to fix remove whitespace from email headers in classic ASP?

I have a email function which sends email. The thing is done in classic ASP/VBScript and uses

Set objMail = Server.CreateObject("JMail.SMTPMail"开发者_如何学运维)

JMail. How can I remove extra whitespace (= bad MIME encoding) in the header?


I fixed it. The solution was simple when I figured out what to do.

 objMail.MimeVersion = "1.0"
        objMail.SimpleLayout = true
        objMail.ContentTransferEncoding = "base64"
        objMail.Charset = "UTF-8"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜