标签存档: sendmail

PHP_带smtp验证的发邮件函数

#echo send_mail($_POST["email"],$tosubject,$_POST["errortext"]);
echo send_mail(‘someone@126.com’,’only a test mail for test php mail function’,’一封垃圾邮件’);
echo time();
function send_mail($to, $subject = ‘No subject’, $body) {
阅读全文——共2795字