我遇到一个奇怪的问题,难以诊断,因为
它是随机的。我已经构建了一个应用程序发送一个电子邮件
很好的文字量(没有确切的字符数,但可以得到它)。电子邮件中的空白问题
在html电子邮件中,内容中随机出现一个空格。
请参阅以下的空间如何飘荡,是随机的例子:
1- "Th ere are several things being discussed in this email."
2- "There are se veral things being discussed in this email."
3- "There are severa l things being discussed in this email."
这whitepace问题也发生了联系。到目前为止,在hotmail和gmail中发现了这个问题。
有人有什么想法吗?
$ header =“MIME-Version:1.0 \ r \ n”;
$ header。=“Content-type:text/html; charset = utf-8 \ r \ n”;
$ header。=“From:abc \ r \ n”;
$ subject =“abc”;
$ mail_body =“Hello!”;
$ mail_body。=“content”;
邮件($ email_address,$ subject,$ mail_body,$ header);
也就是说代码给你一个想法大致..
嗨特里...我刚刚发布了示例代码给你一个想法.. – rico 2009-11-24 03:59:49
那么你的伪代码似乎没有问题。修改答案以允许格式化。 – 2009-11-24 04:15:00