• i am receiving an SMTP Error: Could not authenticate. I cannot identify the problem please help me thank you
    here is the error message when i am using the test email

    Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    Connection: opened
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Wed, 04 Jan 2017 01:55:10 +0100 "
    SMTP -> get_lines(): $data is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Wed, 04 Jan 2017 01:55:10 +0100 "
    SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
    SMTP -> get_lines(): $data is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Wed, 04 Jan 2017 01:55:10 +0100 220-We do not authorize the use of this system to transport unsolicited, "
    SMTP -> get_lines(): $str is "220 and/or bulk e-mail."
    SERVER -> CLIENT: 220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Wed, 04 Jan 2017 01:55:10 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
    CLIENT -> SERVER: EHLO www.afpcmos.com
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $str is "250-SIZE 52428800"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800"
    SMTP -> get_lines(): $str is "250-8BITMIME"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME"
    SMTP -> get_lines(): $str is "250-PIPELINING"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING"
    SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $str is "250-STARTTLS"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS"
    SMTP -> get_lines(): $str is "250 HELP"
    SERVER -> CLIENT: 250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
    CLIENT -> SERVER: STARTTLS
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "220 TLS go ahead"
    SERVER -> CLIENT: 220 TLS go ahead
    CLIENT -> SERVER: EHLO www.afpcmos.com
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $str is "250-SIZE 52428800"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800"
    SMTP -> get_lines(): $str is "250-8BITMIME"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME"
    SMTP -> get_lines(): $str is "250-PIPELINING"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING"
    SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $str is "250 HELP"
    SERVER -> CLIENT: 250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP
    Auth method requested: XOAUTH2
    Auth methods available on the server: PLAIN,LOGIN
    SMTP Error: Could not authenticate.
    CLIENT -> SERVER: QUIT
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "221 nl-shared05.knownsrv.com closing connection"
    SERVER -> CLIENT: 221 nl-shared05.knownsrv.com closing connection
    Connection: closed

    Here is my Server Info

    OS: Linux nl-shared05.knownsrv.com 2.6.32-673.26.1.lve1.4.15.el6.x86_64 #1 SMP Sun Jul 17 09:01:31 EDT 2016 x86_64
    PHP version: 5.4.45
    WordPress version: 4.7
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.36.0, OpenSSL/1.0.1e
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, The log states that XOAUTH2 method is not available on the server. That means your openSSL version is outdated and it’s not possible for the plugin to make a secure TLS/SSL connection to the Gmail server. Please contact your web host to upgrade it.

    Thread Starter ian10291992

    (@ian10291992)

    Good day i just contacted my web host for an upgrade and they said that the OpenSSL is updated to latest version cPanel supports but the problem still occurs as of now i hope you can still help me regarding in this problem thank you

    Plugin Author Noor Alam

    (@naa986)

    Ok. Can you please post the email log (along with server info) that you see now?

    Thread Starter ian10291992

    (@ian10291992)

    Good day

    where can i find the email log?

    this is the error when i use the test mail

    Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()
    Connection: opened
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Fri, 13 Jan 2017 04:04:13 +0100 "
    SMTP -> get_lines(): $data is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Fri, 13 Jan 2017 04:04:13 +0100 "
    SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
    SMTP -> get_lines(): $data is "220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Fri, 13 Jan 2017 04:04:13 +0100 220-We do not authorize the use of this system to transport unsolicited, "
    SMTP -> get_lines(): $str is "220 and/or bulk e-mail."
    SERVER -> CLIENT: 220-nl-shared05.knownsrv.com ESMTP Exim 4.87 #1 Fri, 13 Jan 2017 04:04:13 +0100 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
    CLIENT -> SERVER: EHLO www.afpcmos.com
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]"
    SMTP -> get_lines(): $str is "250-SIZE 52428800"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800"
    SMTP -> get_lines(): $str is "250-8BITMIME"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME"
    SMTP -> get_lines(): $str is "250-PIPELINING"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING"
    SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $data is "250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN"
    SMTP -> get_lines(): $str is "250 HELP"
    SERVER -> CLIENT: 250-nl-shared05.knownsrv.com Hello nl-shared05.knownsrv.com [77.81.120.20]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP
    Auth method requested: XOAUTH2
    Auth methods available on the server: PLAIN,LOGIN
    SMTP Error: Could not authenticate.
    CLIENT -> SERVER: QUIT
    SMTP -> get_lines(): $data is ""
    SMTP -> get_lines(): $str is "221 nl-shared05.knownsrv.com closing connection"
    SERVER -> CLIENT: 221 nl-shared05.knownsrv.com closing connection
    Connection: closed
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    then here is the server info

    OS: Linux nl-shared05.knownsrv.com 2.6.32-673.26.1.lve1.4.15.el6.x86_64 #1 SMP Sun Jul 17 09:01:31 EDT 2016 x86_64
    PHP version: 5.5.38
    WordPress version: 4.7.1
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.36.0, OpenSSL/1.0.1e
    
    Thread Starter ian10291992

    (@ian10291992)

    Good day

    just an update i am still experiencing this error please help me thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SMTP Error: Could not authenticate’ is closed to new replies.