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) {
$loc_host[……]