一些电子邮件收件人收到的消息带有= 0D或= 3D字符 [英] Some email recipients get messages with =0D or =3D characters
问题描述
我有一个向用户发送电子邮件的LAMP Web应用程序。一些用户抱怨说,他们没有看到html电子邮件,而是看到了奇怪的字符序列,例如= 0D或= 3D。我无法通过任何电子邮件客户端(gmail,yahoo邮件,hotmail,雷鸟,黑莓或iphone)重现此错误。有谁知道这是怎么回事以及如何解决此问题?
I have a LAMP web application that emails users. Some users have complained that instead of seeing html email messages, they see weird sequences of characters such as =0D or =3D. I can't reproduce this bug with any of my email clients : gmail, yahoo mail, hotmail, thunderbird, blackberry or iphone. Does anyone know what's going on and how to fix this?
推荐答案
这称为 quoted printable 编码。一些处理邮件的系统在将邮件发送给看到有问题的字符的收件人时弄乱了编码或有关编码的标头信息。
This is called quoted printable encoding. Some system that handles the mail while it is being delivered to the recipients that are seeing the offending characters messes up the encoding or the header information about the encoding.
检查是否发送邮件时设置的编码与您写入邮件的内容以及是否也被其他人接收的邮件相匹配。
Check whether the encoding you are setting when sending the mail matches what you are writing to the mail and whether that is also what is received by other people.
这篇关于一些电子邮件收件人收到的消息带有= 0D或= 3D字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!