AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 用AMH安装了wordpress配置smtp老是不成功 |
|
---|---|
刘荣焕 |
刘荣焕 发表于 2013-12-02 22:27:17
错误信息:
Test Message SentThe result was:bool(false)The full debugging output is shown below:object(PHPMailer)#410 (65) { ["Priority"]=> int(3) ["CharSet"]=> string(5) "UTF-8" ["ContentType"]=> string(10) "text/plain" ["Encoding"]=> string(4) "8bit" ["ErrorInfo"]=> string(91) "The following From address failed: [email]276181228@qq.com[/email] : Called Mail() without being connected" ["From"]=> string(16) "276181228@qq.com" ["FromName"]=> string(9) "刘荣焕" ["Sender"]=> string(0) "" ["ReturnPath"]=> string(0) "" ["Subject"]=> string(43) "WP Mail SMTP: Test mail to [email]412810205@qq.com[/email]" ["Body"]=> string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin." ["AltBody"]=> string(0) "" ["MIMEBody":protected]=> string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin." ["MIMEHeader":protected]=> string(443) "Date: Mon, 2 Dec 2013 14:24:53 +0000Return-Path: [email]276181228@qq.comTo[/email]: [email]412810205@qq.comFrom[/email]: =?UTF-8?B?5YiY6I2j54SV?= <[email]276181228@qq.com[/email]>Subject: WP Mail SMTP: Test mail to [email]412810205@qq.comMessage[/email]-ID: X-Priority: 3X-Mailer: PHPMailer 5.2.4 (http://code.google.com/a/apache-extras.org/p/phpmailer/)MIME-Version: 1.0Content-Transfer-Encoding: 8bitContent-Type: text/plain; charset=UTF-8" ["mailHeader":protected]=> string(0) "" ["WordWrap"]=> int(0) ["Mailer"]=> string(4) "smtp" ["Sendmail"]=> string(18) "/usr/sbin/sendmail" ["UseSendmailOptions"]=> bool(true) ["PluginDir"]=> string(0) "" ["ConfirmReadingTo"]=> string(0) "" ["Hostname"]=> string(0) "" ["MessageID"]=> string(0) "" ["MessageDate"]=> string(0) "" ["Host"]=> string(18) "smtp.exmail.qq.com" ["Port"]=> string(3) "465" ["Helo"]=> string(0) "" ["SMTPSecure"]=> string(0) "" ["SMTPAuth"]=> bool(false) ["Username"]=> string(0) "" ["Password"]=> string(0) "" ["AuthType"]=> string(0) "" ["Realm"]=> string(0) "" ["Workstation"]=> string(0) "" ["Timeout"]=> int(10) ["SMTPDebug"]=> bool(true) ["Debugoutput"]=> string(4) "echo" ["SMTPKeepAlive"]=> bool(false) ["SingleTo"]=> bool(false) ["SingleToArray"]=> array(0) { } ["LE"]=> string(1) "" ["DKIM_selector"]=> string(0) "" ["DKIM_identity"]=> string(0) "" ["DKIM_passphrase"]=> string(0) "" ["DKIM_domain"]=> string(0) "" ["DKIM_private"]=> string(0) "" ["action_function"]=> string(0) "" ["Version"]=> string(5) "5.2.4" ["XMailer"]=> string(0) "" ["smtp":protected]=> object(SMTP)#411 (11) { ["SMTP_PORT"]=> int(25) ["CRLF"]=> string(2) "" ["do_debug"]=> bool(true) ["Debugoutput"]=> string(4) "echo" ["do_verp"]=> bool(false) ["Timeout"]=> int(10) ["Timelimit"]=> int(30) ["Version"]=> string(5) "5.2.4" ["smtp_conn":"SMTP":private]=> int(0) ["error":"SMTP":private]=> array(1) { ["error"]=> string(37) "Called Mail() without being connected" } ["helo_rply":"SMTP":private]=> NULL } ["to":protected]=> array(1) { [0]=> array(2) { [0]=> string(16) "412810205@qq.com" [1]=> string(0) "" } } ["cc":protected]=> array(0) { } ["bcc":protected]=> array(0) { } ["ReplyTo":protected]=> array(0) { } ["all_recipients":protected]=> array(1) { ["412810205@qq.com"]=> bool(true) } ["attachment":protected]=> array(0) { } ["CustomHeader":protected]=> array(0) { } ["message_type":protected]=> string(5) "plain" ["boundary":protected]=> array(3) { [1]=> string(35) "b1_da29208b55a86ff54be35375b8f5f183" [2]=> string(35) "b2_da29208b55a86ff54be35375b8f5f183" [3]=> string(35) "b3_da29208b55a86ff54be35375b8f5f183" } ["language":protected]=> array(18) { ["authenticate"]=> string(35) "SMTP Error: Could not authenticate." ["connect_host"]=> string(43) "SMTP Error: Could not connect to SMTP host." ["data_not_accepted"]=> string(30) "SMTP Error: Data not accepted." ["empty_message"]=> string(18) "Message body empty" ["encoding"]=> string(18) "Unknown encoding: " ["execute"]=> string(19) "Could not execute: " ["file_access"]=> string(23) "Could not access file: " ["file_open"]=> string(33) "File Error: Could not open file: " ["from_failed"]=> string(35) "The following From address failed: " ["instantiate"]=> string(36) "Could not instantiate mail function." ["invalid_address"]=> string(15) "Invalid address" ["mailer_not_supported"]=> string(25) " mailer is not supported." ["provide_address"]=> string(54) "You must provide at least one recipient email address." ["recipients_failed"]=> string(45) "SMTP Error: The following recipients failed: " ["signing"]=> string(15) "Signing Error: " ["smtp_connect_failed"]=> string(22) "SMTP Connect() failed." ["smtp_error"]=> string(19) "SMTP server error: " ["variable_set"]=> string(30) "Cannot set or reset variable: " } ["error_count":protected]=> int(3) ["sign_cert_file":protected]=> string(0) "" ["sign_key_file":protected]=> string(0) "" ["sign_key_pass":protected]=> string(0) "" ["exceptions":protected]=> bool(true)}The SMTP debugging output is shown below:SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "" SMTP -> get_lines(): $data is "" SMTP -> get_lines(): timed-out (10 seconds) SMTP -> FROM SERVER: SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "" SMTP -> get_lines(): $data is "" SMTP -> FROM SERVER: SMTP -> ERROR: EHLO not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server: SMTP -> NOTICE:EOF caught while checking if connected
点赞,加油! (0分)
2013-12-02 22:27:17 1
|
tanyuxiang |
一般帐号这些设置没错的话 就是服务器防火墙端口问题了
回复
2013-12-02 22:39:55 2
|
muaty |
ssh运行 :service iptables stop
然后OK之后 尝试下
回复
2013-12-04 10:23:35 3
|