【发布时间】:2010-12-19 17:27:43
【问题描述】:
我遇到了一个奇怪的问题并且难以诊断,因为
这是随机的。我已经构建了一个应用程序,该应用程序通过
发送电子邮件
大量的文本(没有确切的字符数,但可以得到)。
在 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."
链接也会出现此空白问题。目前在hotmail和gmail中发现了这个问题。
有人有什么想法吗?
$header = "MIME 版本:1.0\r\n";
$header .= "内容类型: text/html; charset=utf-8\r\n";
$header .= "来自:abc \r\n";
$主题=“ABC”;
$mail_body = "你好!";
$mail_body .= "内容";
邮件($email_address,$subject,$mail_body,$header);
这是给你一个大致想法的代码..
【问题讨论】: