我试图用下一个正文从 PHP 发送电子邮件:
$message .= 'This is a simple message';
$message .= "\n";
$message .= 'http://www.yahoo.com';
$message .= "\n";
$message .= "<a href='https://www.google.com'>Google</a>";
$message .= "\n";
结果我得到了下一个输出:
This is a simple message //This line is ok
http://www.yahoo.com //This line is ok
<a href='https://www.google.com'>Google</a> //It should appear the word Google clickable but it does not
我得到了 html 代码,而不是让谷歌这个词带有可点击到谷歌网站的链接,我该如何解决这个问题?谢谢
MM们