【发布时间】:2012-05-10 06:51:57
【问题描述】:
嗨,亲爱的,这是我发送电子邮件的代码 我的消息代码是这样的
$to = $email;
$subject = "Activation";
$message = "Your activation key is this " .$key.'<br>'.' click here to activate your acount. <a href="activation.php?key='.$key.'">here</a>';
$from = "riaz_qadeer90@yahoo.com";
$headers = "From:" . $from;
if(mail($to,$subject,$message,$headers))
{
echo "Check your email to activate your acount.";
}
问题是当我发送电子邮件时,我的收件箱中显示的整个消息都带有代码。为什么它不将“点击”显示为锚点.....
【问题讨论】:
标签: email sendmail send sendmessage