bdt*_*try 6 php email gmail hotmail phpmailer
当用户收到从我的网站使用 PHP 发送的电子邮件时,我想在用户收件箱中显示个人资料图片。
\n\n在这张图片中,第一封电子邮件来自我的网站,第二封电子邮件是我想要的。
\n\n这是我的 PHP 邮件函数:
\n\n $emailTo=$_POST[\'emialNewPass\'];\n $emailSubject="Recovery";\n $emailLoctuz="noreply@loctuz.com";\n $message="msg";\n\n $headers = \'MIME-Version: 1.0\' . "\\r\\n";\n $headers .= \'Content-type: text/html; charset=iso-8859-1\' . "\\r\\n";\n // En-t\xc3\xaates additionnels\n $headers .= \'To: \'.$emailTo."\\r\\n";\n $headers .= \'From: Loctuz Security <\'. $emailLoctuz . \'>\' ."\\r\\n";\n\n if(@mail($emailTo,$emailSubject,$message, $headers))\n {\n ?><script>window.location = "?sent";</script><?php \n }\nRun Code Online (Sandbox Code Playgroud)\n
| 归档时间: |
|
| 查看次数: |
13985 次 |
| 最近记录: |