PHP电子邮件无法使用特定格式字符发送

时间:2015-01-17 14:37:12

标签: php email

我正在尝试使用PHP发送自动回复电子邮件。

这是正文的代码

$body = "<html><body>";
$body .= "Dear " . $_POST['contactName'].",";
$body .= "<br><br>";
$body .= "Welcome to......";
$body .= "<br><br>";
$body .= "Thank you for your application.";
$body .= "<br><br>";
$body .= "In order to further process your application could you please provide us <br>";
$body .= "with electronic copies of the following documents regarding your company:";
$body .= "<br><br>";
$body .= "- VAT Certificate";
$body .= "<br>";
$body .= "- Certificate of Incorporation";
$body .= "<br>";
$body .= "- Company Intro Letter";
$body .= "<br>";
$body .= "- Director's Passport";
$body .= "<br>";
$body .= "- Utility Bill of the Company and the Director";
$body .= "<br><br>";
$body .= "Please send electronic copies by email to: dinoangelides@gmail.com/";
$body .= "Once we have received these documents we will process your application.";
$body .= "<br><br>";
$body .= "If successful we will provide you with your secure login details,";
$body .= "<br>";
$body .= "which will allow you to access the website.";
$body .= "<br><br>";
$body .= "Please do not hesitate to contact us for any additional information required.";
$body .= "<br><br>";
$body .= "Best regards,";
$body .= "<br><br>";
$body .= '<img src="some link" width="202" height="59"/>';
$body .= "<br><br>";
$body .= "Support Team";
$body .= "<br>";
$body .= "IPVDX | B2B Experts";
$body .= "</body></html>";

现在php发送电子邮件就好了但是就行了

$body .= "Please send electronic copies by email to: dinoangelides@gmail.com/";

如果我删除/电子邮件不去.... 并且它不允许我在它下面放置一个断行来分隔两行,因此消息在那一点与下面的行连接

为什么会发生这种情况?

0 个答案:

没有答案