2018-05-28PHPMailer类

phpmailer下载地址

$mail = new PHPMailer

$mail->send();
$mail->addattchment("*.gif");
$mail->Subject="hello world";
$mail->MsgHTML("........");
mail->SetFrom("[email protected]", "xxxxxx");
$mail->AddReplyTo("[email protected]", "xxxxxx"); 

你可能感兴趣的:(2018-05-28PHPMailer类)