خطای هنگام اتصال با TLS :
2018-01-02 17:02:12 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
'ssl' =>
array (
'verify_peer_name' => false,
'allow_self_signed' => true,
),
)
2018-01-02 17:02:12 Connection: opened
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "220-sun.asemanhost.com ESMTP Exim 4.89_1 #1 Tue, 02 Jan 2018 20:32:12 +0330
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "220-sun.asemanhost.com ESMTP Exim 4.89_1 #1 Tue, 02 Jan 2018 20:32:12 +0330
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited,
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "220-sun.asemanhost.com ESMTP Exim 4.89_1 #1 Tue, 02 Jan 2018 20:32:12 +0330
220-We do not authorize the use of this system to transport unsolicited,
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
"
2018-01-02 17:02:12 SERVER -> CLIENT: 220-sun.asemanhost.com ESMTP Exim 4.89_1 #1 Tue, 02 Jan 2018 20:32:12 +0330
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2018-01-02 17:02:12 CLIENT -> SERVER: EHLO 136.243.11.201
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-SIZE 52428800
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-8BITMIME
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-PIPELINING
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-STARTTLS
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250 HELP
"
2018-01-02 17:02:12 SERVER -> CLIENT: 250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2018-01-02 17:02:12 CLIENT -> SERVER: STARTTLS
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "220 TLS go ahead
"
2018-01-02 17:02:12 SERVER -> CLIENT: 220 TLS go ahead
2018-01-02 17:02:12 CLIENT -> SERVER: EHLO 136.243.11.201
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-SIZE 52428800
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-8BITMIME
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-PIPELINING
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
"
2018-01-02 17:02:12 SMTP -> get_lines(): $data is "250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "250 HELP
"
2018-01-02 17:02:12 SERVER -> CLIENT: 250-sun.asemanhost.com Hello 136.243.11.201 [136.243.11.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
2018-01-02 17:02:12 Auth method requested: UNKNOWN
2018-01-02 17:02:12 Auth methods available on the server: PLAIN,LOGIN
2018-01-02 17:02:12 Auth method selected: LOGIN
2018-01-02 17:02:12 CLIENT -> SERVER: AUTH LOGIN
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6
"
2018-01-02 17:02:12 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2018-01-02 17:02:12 CLIENT -> SERVER: VGFicml6U2h1YkBnbWFpbC5jb20=
2018-01-02 17:02:12 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:12 SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6
"
2018-01-02 17:02:12 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2018-01-02 17:02:12 CLIENT -> SERVER: dEBicml6JGh1YkAyMDE3IyM=
2018-01-02 17:02:14 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:14 SMTP -> get_lines(): $str is "535 Incorrect authentication data
"
2018-01-02 17:02:14 SERVER -> CLIENT: 535 Incorrect authentication data
2018-01-02 17:02:14 SMTP ERROR: Password command failed: 535 Incorrect authentication data
2018-01-02 17:02:14 SMTP Error: Could not authenticate.
2018-01-02 17:02:14 CLIENT -> SERVER: QUIT
2018-01-02 17:02:14 SMTP -> get_lines(): $data is ""
2018-01-02 17:02:14 SMTP -> get_lines(): $str is "221 sun.asemanhost.com closing connection
"
2018-01-02 17:02:14 SERVER -> CLIENT: 221 sun.asemanhost.com closing connection
2018-01-02 17:02:14 Connection: closed
SMTP Error: Could not authenticate.