• Good afternoon,

    I recently started using this plugin. I had no problems creating a web application, and getting the information needed for OAuth2. I was able to authorize the application, however, when I attempt to send a test email I get the following output:

    Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    Connection: opened
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “220 smtp.gmail.com ESMTP 75sm5658451pfy.32 – gsmtp”
    SERVER -> CLIENT: 220 smtp.gmail.com ESMTP 75sm5658451pfy.32 – gsmtp
    CLIENT -> SERVER: EHLO nashvillecprcertification.com
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [162.144.83.51]”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]”
    SMTP -> get_lines(): $str is “250-SIZE 35882577”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577”
    SMTP -> get_lines(): $str is “250-8BITMIME”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME”
    SMTP -> get_lines(): $str is “250-STARTTLS”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-STARTTLS”
    SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $str is “250-PIPELINING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING”
    SMTP -> get_lines(): $str is “250-CHUNKING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    SMTP -> get_lines(): $str is “250 SMTPUTF8”
    SERVER -> CLIENT: 250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    CLIENT -> SERVER: STARTTLS
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “220 2.0.0 Ready to start TLS”
    SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    CLIENT -> SERVER: EHLO nashvillecprcertification.com
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [162.144.83.51]”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]”
    SMTP -> get_lines(): $str is “250-SIZE 35882577”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577”
    SMTP -> get_lines(): $str is “250-8BITMIME”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME”
    SMTP -> get_lines(): $str is “250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $str is “250-PIPELINING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING”
    SMTP -> get_lines(): $str is “250-CHUNKING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    SMTP -> get_lines(): $str is “250 SMTPUTF8”
    SERVER -> CLIENT: 250-smtp.gmail.com at your service, [162.144.83.51]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    Auth method requested: XOAUTH2
    Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
    CLIENT -> SERVER: QUIT
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “221 2.0.0 closing connection 75sm5658451pfy.32 – gsmtp”
    SERVER -> CLIENT: 221 2.0.0 closing connection 75sm5658451pfy.32 – gsmtp
    Connection: closed

    I then never receive the email to my account.

    My server information is

    OS: Linux 2.6.32-573.26.1.el6.x86_64 #1 SMP Wed May 4 00:57:44 UTC 2016 x86_64
    PHP version: 5.3.26 (PHPMailer requires PHP 5.4 or later in order to send email)
    WordPress version: 4.5.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Disabled
    stream_socket_client: Available
    fsockopen: Available

    I was able to successfully send from my dev environment which is a local vagrant server on my computer.

    I was reading in some of the tickets that this might be a result of the curl not being installed so I tried another dev site of mine, ensured that it has curl installed and updated and got roughly the same information.

    Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    Connection: opened
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “220 smtp.gmail.com ESMTP f62sm11865944ywh.19 – gsmtp”
    SERVER -> CLIENT: 220 smtp.gmail.com ESMTP f62sm11865944ywh.19 – gsmtp
    CLIENT -> SERVER: EHLO robrosdemo.ddns.net
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [172.3.43.133]”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]”
    SMTP -> get_lines(): $str is “250-SIZE 35882577”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577”
    SMTP -> get_lines(): $str is “250-8BITMIME”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME”
    SMTP -> get_lines(): $str is “250-STARTTLS”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-STARTTLS”
    SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $str is “250-PIPELINING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING”
    SMTP -> get_lines(): $str is “250-CHUNKING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    SMTP -> get_lines(): $str is “250 SMTPUTF8”
    SERVER -> CLIENT: 250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    CLIENT -> SERVER: STARTTLS
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “220 2.0.0 Ready to start TLS”
    SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    CLIENT -> SERVER: EHLO robrosdemo.ddns.net
    SMTP -> get_lines(): $data is “”
    SMTP -> get_lines(): $str is “250-smtp.gmail.com at your service, [172.3.43.133]”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]”
    SMTP -> get_lines(): $str is “250-SIZE 35882577”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577”
    SMTP -> get_lines(): $str is “250-8BITMIME”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME”
    SMTP -> get_lines(): $str is “250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH”
    SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES”
    SMTP -> get_lines(): $str is “250-PIPELINING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING”
    SMTP -> get_lines(): $str is “250-CHUNKING”
    SMTP -> get_lines(): $data is “250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING”
    SMTP -> get_lines(): $str is “250 SMTPUTF8”
    SERVER -> CLIENT: 250-smtp.gmail.com at your service, [172.3.43.133]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    Auth method requested: XOAUTH2
    Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH

    but no email.

    My server information is

    OS: Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l
    PHP version: 5.4.41-0+deb7u1
    WordPress version: 4.5.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available

    Any help would be appreciated.

    https://www.ads-software.com/plugins/gmail-smtp/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Emails not sending – No Error’ is closed to new replies.