[PHP] EOD and mail publishing_PHP tutorial

WBOY
Release: 2016-07-20 11:05:07
Original
1080 people have browsed it

$message= <<... Piles of strings such as batch HTML codes can be read as
EOD;
and loaded into $message.
$to="digico@123.com";
$mail ="hts@123.com";
$zhuti ="I love you"; // Subject of the letter
// $ mailheaders .="Content-Type=text/html; charset=gb2312";
// $mailheaders .="Content-disposition: inline";
// $mailheaders .="Reply-To:";
// $mailheaders .="Content-Transfer-Encoding: 7bit";
$mailheaders = "From: $mail";//Sender's address
// $mailheaders .= "To: $to";
$mailheaders .= "MIME-Version: 1.0";
$mailheaders .= "Content-type: text/html; charset=gb2312";
mail($to,$zhuti ,$message,$mailheaders);
OK !



www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445166.htmlTechArticle$message= EOD... Piles of strings such as batch HTML codes can be pronounced EOD; loading into $message. $to="digico@123.com"; $mail ="hts@123.com"; $zhuti ="I love you"; // Letter subject...
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template