phpmailer用QQ的SMTP服务器发送邮件出现的错误。

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 esmtp1.qq.com Esmtp QQ Mail Server "
SMTP -> get_lines(): $data is "220 esmtp1.qq.com Esmtp QQ Mail Server "
SMTP -> FROM SERVER:220 esmtp1.qq.com Esmtp QQ Mail Server
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-esmtp1.qq.com "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com "
SMTP -> get_lines(): $data was "250-esmtp1.qq.com "
SMTP -> get_lines(): $str is "250-PIPELINING "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com 250-PIPELINING "
SMTP -> get_lines(): $data was "250-esmtp1.qq.com 250-PIPELINING "
SMTP -> get_lines(): $str is "250-SIZE 52428800 "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 "
SMTP -> get_lines(): $data was "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 "
SMTP -> get_lines(): $str is "250-AUTH LOGIN "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN "
SMTP -> get_lines(): $data was "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN "
SMTP -> get_lines(): $str is "250-AUTH=LOGIN "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN 250-AUTH=LOGIN "
SMTP -> get_lines(): $data was "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN 250-AUTH=LOGIN "
SMTP -> get_lines(): $str is "250 8BITMIME "
SMTP -> get_lines(): $data is "250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN 250-AUTH=LOGIN 250 8BITMIME "
SMTP -> FROM SERVER: 250-esmtp1.qq.com 250-PIPELINING 250-SIZE 52428800 250-AUTH LOGIN 250-AUTH=LOGIN 250 8BITMIME
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "235 Authentication successful "
SMTP -> get_lines(): $data is "235 Authentication successful "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 End data with . "
SMTP -> get_lines(): $data is "354 End data with . "
SMTP -> FROM SERVER:354 End data with .
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "550 Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.html "
SMTP -> get_lines(): $data is "550 Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.html "
SMTP -> FROM SERVER:550 Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.html
SMTP -> ERROR: DATA not accepted from server: 550 Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.html
SMTP Error: Data not accepted. Mailer Error: SMTP Error: Data not accepted.
SMTP server error: Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.html

发送内容不是空的,初步调查是包含了一个网址。

DATA not accepted
SMTP error, DOT: 550 Error: content rejected.http://mail.qq.com/zh_CN/help/content/rejectedmail.htm

的错误原因

第二次调查认为是内容的分隔符不对
应该使用 CRLF 作为分隔符(通常为 Windows 主机)

上一篇: Cacti基于PHP,MySQL,SNMP及RRDTool开发的网络流量监测图形分析工具   下一篇: 安装 Helix Mobile Server for linux

你问我答

  1. #1 头像 592021 2012-12-22 13:36:42
    这个问题怎么解决呢?
  2. #2 头像 keminar 2012-12-23 20:59:32
    文章最结尾有写:使用 CRLF 作为分隔符(通常为 Windows 主机)
    引用 592021 说过的话:
    这个问题怎么解决呢?
  3. #3 头像 spiritdyh 2013-03-27 14:47:08
    怎样使用CRLF作为分隔符 在哪里设置呢
  4. #4 头像 keminar 2013-03-28 11:21:29
    这个是邮件服务器有关,CR和CRLF都试下,看哪个好用。
    引用 spiritdyh 说过的话:
    怎样使用CRLF作为分隔符 在哪里设置呢

提交疑问

回顶部