解决SMTP server response: 536 authentication failed

解决SMTP server response: 536 authentication failed
php的mail函数,在Win下使用较难!用类解决。 服务器上有Smtp环境,但测试发邮件时: <?php   $to      = 'aa@21nw.com';   $subject = 'the subject';   $message = 'hello';   $headers = 'From: ad@21pt.com' . "rn" .   'Reply-To: ad@21nw.com' . "rn" .   'X-Mailer: PHP/' . ...
Copyright © 浩然东方 保留所有权利.   Theme  Ality 07032740

用户登录