【发布时间】:2011-06-22 10:27:21
【问题描述】:
我需要在 PHP 中包含一些 HTML 内容,例如在这样的消息中添加 <a href="#">link</a>:
<?php
$to = $themail;
$subject = "Expiration d'une annonce";
$body = "Hey,\n\n";
// I need to include a link here in the body like <a href ="http://www.www.com"> Link </a>
mail($to, $subject, $body)
?>
有什么想法吗?
【问题讨论】: