2017-12-08 14 views
0

私はWPメールのSMTP(0.11.2)プラグインを使用しています。Wordpress4.9.1 SMTPが動作しない

usingWordpress4.9.1 メールを送信したときに、このエラーが表示されます。SMTP - >エラー:サーバーへの接続に失敗したか、認証できませんでした。

どうすれば修正できますか?

C:\ wamp64 \ WWW \ワードプレス\ WP-コンテンツ\プラグイン\ WP-メールSMTPの\ wp_mail_smtp.php:258:ブール偽

ここでは、情報をデバッグの私のtestmailです:

PHPMailer Object 
(
[Version] => 5.2.22 
[Priority] => 
[CharSet] => UTF-8 
[ContentType] => text/plain 
[Encoding] => 8bit 
[ErrorInfo] => SMTP connect() failed. 
https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 
[From] => [email protected] 
[FromName] => 搖滾俱樂部 
[Sender] => 
[ReturnPath] => 
[Subject] => WP Mail SMTP: Test mail to [email protected] 
[Body] => 這封測試郵件由 WordPress 外掛 WP Mail SMTP 自動產生。 
[AltBody] => 
[Ical] => 
[MIMEBody:protected] => 這封測試郵件由 WordPress 外掛 WP Mail SMTP 自動產生。 

[MIMEHeader:protected] => Date: Fri, 8 Dec 2017 14:51:09 +0000 
To: [email protected] 
From: =?UTF-8?B?5pCW5ru+5L+x5qiC6YOo?= 
Subject: WP Mail SMTP: Test mail to [email protected] 
Message-ID: <1d6e4a91953547c850de852[email protected]> 
X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) 
MIME-Version: 1.0 
Content-Type: text/plain; charset=UTF-8 
Content-Transfer-Encoding: 8bit 


[mailHeader:protected] => 
[WordWrap] => 0 
[Mailer] => smtp 
[Sendmail] => /usr/sbin/sendmail 
[UseSendmailOptions] => 1 
[PluginDir] => 
[ConfirmReadingTo] => 
[Hostname] => 
[MessageID] => 
[MessageDate] => Fri, 8 Dec 2017 14:51:09 +0000 
[Host] => smtp.gmail.com 
[Port] => 465 
[Helo] => 
[SMTPSecure] => ssl 
[SMTPAutoTLS] => 1 
[SMTPAuth] => 1 
[SMTPOptions] => Array 
    (
    ) 

[Username] => [email protected] 
[Password] => xxxxxxxxxxxx 
[AuthType] => 
[Realm] => 
[Workstation] => 
[Timeout] => 300 
[SMTPDebug] => 0 
[Debugoutput] => echo 
[SMTPKeepAlive] => 
[SingleTo] => 
[SingleToArray] => Array 
    (
    ) 

[do_verp] => 
[AllowEmpty] => 
[LE] => 

[DKIM_selector] => 
[DKIM_identity] => 
[DKIM_passphrase] => 
[DKIM_domain] => 
[DKIM_private] => 
[DKIM_private_string] => 
[action_function] => 
[XMailer] => 
[smtp:protected] => SMTP Object 
    (
     [Version] => 5.2.22 
     [SMTP_PORT] => 25 
     [CRLF] => 

     [do_debug] => 0 
     [Debugoutput] => echo 
     [do_verp] => 
     [Timeout] => 300 
     [Timelimit] => 300 
     [smtp_transaction_id_patterns:protected] => Array 
      (
       [exim] => /[0-9]{3} OK id=(.*)/ 
       [sendmail] => /[0-9]{3} 2.0.0 (.*) Message/ 
       [postfix] => /[0-9]{3} 2.0.0 Ok: queued as (.*)/ 
      ) 

     [smtp_conn:protected] => 
     [error:protected] => Array 
      (
       [error] => 
       [detail] => 
       [smtp_code] => 
       [smtp_code_ex] => 
      ) 

     [helo_rply:protected] => 
     [server_caps:protected] => 
     [last_reply:protected] => 
    ) 

[to:protected] => Array 
    (
     [0] => Array 
      (
       [0] => [email protected] 
       [1] => 
      ) 

    ) 

[cc:protected] => Array 
    (
    ) 

[bcc:protected] => Array 
    (
    ) 

[ReplyTo:protected] => Array 
    (
    ) 

[all_recipients:protected] => Array 
    (
     [[email protected]] => 1 
    ) 

[RecipientsQueue:protected] => Array 
    (
    ) 

[ReplyToQueue:protected] => Array 
    (
    ) 

[attachment:protected] => Array 
    (
    ) 

[CustomHeader:protected] => Array 
    (
    ) 

[lastMessageID:protected] => <[email protected]> 
[message_type:protected] => plain 
[boundary:protected] => Array 
    (
     [1] => b1_1d6e4a91953547c850de852e798ccbba 
     [2] => b2_1d6e4a91953547c850de852e798ccbba 
     [3] => b3_1d6e4a91953547c850de852e798ccbba 
    ) 

[language:protected] => Array 
    (
     [authenticate] => SMTP Error: Could not authenticate. 
     [connect_host] => SMTP Error: Could not connect to SMTP host. 
     [data_not_accepted] => SMTP Error: data not accepted. 
     [empty_message] => Message body empty 
     [encoding] => Unknown encoding: 
     [execute] => Could not execute: 
     [file_access] => Could not access file: 
     [file_open] => File Error: Could not open file: 
     [from_failed] => The following From address failed: 
     [instantiate] => Could not instantiate mail function. 
     [invalid_address] => Invalid address: 
     [mailer_not_supported] => mailer is not supported. 
     [provide_address] => You must provide at least one recipient email address. 
     [recipients_failed] => SMTP Error: The following recipients failed: 
     [signing] => Signing Error: 
     [smtp_connect_failed] => SMTP connect() failed. 
     [smtp_error] => SMTP server error: 
     [variable_set] => Cannot set or reset variable: 
     [extension_missing] => Extension missing: 
    ) 

[error_count:protected] => 2 
[sign_cert_file:protected] => 
[sign_key_file:protected] => 
[sign_extracerts_file:protected] => 
[sign_key_pass:protected] => 
[exceptions:protected] => 1 
[uniqueid:protected] => 1d6e4a91953547c850de852e798ccbba 

見出し

+0

は、トラブルシューティングガイドの推奨事項を通過します。ポストth e 'SMTPDebug = 3'で得られるデバッグ出力。 – Synchro

+0

これは 'SMTPDebug = 3'を意味しますか? 私の悪い英語と技術のため申し訳ありません。 – Ray55660010

+0

コード例の使い方を見てください。 – Synchro

答えて

0

接続://smtp.gmail.com:SSLへの開口部465、タイムアウト= 300、オプション=配列( )

接続:サーバーに接続できませんでした。

エラー番号2.「エラー通知:stream_socket_client(): SSL操作はコード1のOpenSSLエラーメッセージで失敗しました: エラー:14090086:SSLルーチン:ssl3_get_server_certificate:証明書の検証failedConnection:サーバーに接続できませんでしたが

エラー番号2 "エラー通知:stream_socket_client():cryptoConnectionを有効にできませんでした:サーバーに接続できませんでした。

エラー番号2.「エラー通知:stream_socket_client():SSLに接続できません://smtp.gmail.com:465(不明なエラー)

SMTPエラー:サーバーへの接続に失敗しました:(0 )SMTP接続は、()が失敗しました。

関連する問題