Home > php教程 > php手册 > [PHP] EOD 及 mail 发布

[PHP] EOD 及 mail 发布

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:21:10
Original
1390 people have browsed it

$message= ......成堆的字符串 如批量HTML代码 可以念
EOD;
装载到  $message 中。
$to="digico@123.com";
$mail ="hts@123.com";
$zhuti ="我爱你";     // 信件主题
// $mailheaders .="Content-Type=text/html; charset=gb2312";
// $mailheaders .="Content-disposition: inline";
// $mailheaders .="Reply-To:";
// $mailheaders .="Content-Transfer-Encoding: 7bit";
$mailheaders = "From: $mail";//发信人的地址
// $mailheaders .= "To: $to";
 $mailheaders .= "MIME-Version: 1.0";
 $mailheaders .= "Content-type: text/html; charset=gb2312";
mail($to,$zhuti,$message,$mailheaders);
OK !



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template