Home  >  Article  >  Backend Development  >  [PHP] EOD and mail publishing_PHP tutorial

[PHP] EOD and mail publishing_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:05:071037browse

$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...
Statement:
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