• With SSL/465 settings i am getting following error:

    2017-12-21 11:04:38 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()
    2017-12-21 11:04:38 Connection: opened
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is ""
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "220 smtp.gmail.com ESMTP l126sm10940082ioe.65 - gsmtp"
    2017-12-21 11:04:41 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP l126sm10940082ioe.65 - gsmtp
    2017-12-21 11:04:41 CLIENT -> SERVER: EHLO digitunes.in
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is ""
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [103.251.25.14]"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-SIZE 35882577"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-8BITMIME"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-PIPELINING"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250-CHUNKING"
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "250 SMTPUTF8"
    2017-12-21 11:04:41 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [103.251.25.14]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2017-12-21 11:04:41 Auth method requested: XOAUTH2
    2017-12-21 11:04:41 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
    2017-12-21 11:04:41 CLIENT -> SERVER: AUTH XOAUTH2 dXNlcj1pbmZvQGRpZ2l0dW5lcy5pbgFhdXRoPUJlYXJlciABAQ==
    2017-12-21 11:04:41 SMTP -> get_lines(): $data is ""
    2017-12-21 11:04:41 SMTP -> get_lines(): $str is "334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ=="
    2017-12-21 11:04:41 SERVER -> CLIENT: 334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==
    2017-12-21 11:04:41 SMTP ERROR: AUTH command failed: 334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==
    SMTP Error: Could not authenticate.
    2017-12-21 11:04:41 CLIENT -> SERVER: QUIT
    2017-12-21 11:04:42 SMTP -> get_lines(): $data is ""
    2017-12-21 11:04:42 SMTP -> get_lines(): $str is "535-5.7.8 Username and Password not accepted. Learn more at"
    2017-12-21 11:04:42 SMTP -> get_lines(): $data is "535-5.7.8 Username and Password not accepted. Learn more at"
    2017-12-21 11:04:42 SMTP -> get_lines(): $str is "535 5.7.8 https://support.google.com/mail/?p=BadCredentials l126sm10940082ioe.65 - gsmtp"
    2017-12-21 11:04:42 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials l126sm10940082ioe.65 - gsmtp
    2017-12-21 11:04:42 SMTP ERROR: QUIT command failed: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials l126sm10940082ioe.65 - gsmtp
    2017-12-21 11:04:42 Connection: closed
Viewing 1 replies (of 1 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, Please use TLS on port 587. You can contact your host to make sure that port 587 is open and supports TLS encryption.

Viewing 1 replies (of 1 total)

The topic ‘Connection error’ is closed to new replies.