• Resolved LuisaDraws

    (@luisadraws)


    Hello, I installed your plugin and followed the documentation, but when I try to send an email using the “Test Email” option, it gives me the following error:

    2019-11-14 22:57:53 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    2019-11-14 22:57:53 Connection: opened
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is ""
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "220 smtp.gmail.com ESMTP y19sm8315680wmd.29 - gsmtp"
    2019-11-14 22:57:53 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP y19sm8315680wmd.29 - gsmtp
    2019-11-14 22:57:53 CLIENT -> SERVER: EHLO luisadraws.com
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is ""
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-SIZE 35882577"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-8BITMIME"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-STARTTLS"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-STARTTLS"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-PIPELINING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-CHUNKING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250 SMTPUTF8"
    2019-11-14 22:57:53 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2019-11-14 22:57:53 CLIENT -> SERVER: STARTTLS
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is ""
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS"
    2019-11-14 22:57:53 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
    2019-11-14 22:57:53 CLIENT -> SERVER: EHLO luisadraws.com
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is ""
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-SIZE 35882577"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-8BITMIME"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-PIPELINING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250-CHUNKING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "250 SMTPUTF8"
    2019-11-14 22:57:53 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2001:41d0:2:29c2::]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
    2019-11-14 22:57:53 Auth method requested: XOAUTH2
    2019-11-14 22:57:53 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
    2019-11-14 22:57:53 CLIENT -> SERVER: QUIT
    2019-11-14 22:57:53 SMTP -> get_lines(): $data is ""
    2019-11-14 22:57:53 SMTP -> get_lines(): $str is "221 2.0.0 closing connection y19sm8315680wmd.29 - gsmtp"
    2019-11-14 22:57:53 SERVER -> CLIENT: 221 2.0.0 closing connection y19sm8315680wmd.29 - gsmtp
    2019-11-14 22:57:53 Connection: closed
    
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    What do I need to do?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Noor Alam

    (@naa986)

    @luisadraws, This message comes from WordPress when there is a fatal error: There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Do you have any plugin that saves all the outgoing emails? Please provide the content of the “Server Info” tab so I can take a look.

    Thread Starter LuisaDraws

    (@luisadraws)

    Hello,

    I am not getting any admin email for some reason.

    I only have Akismet and WP Maintenance Mode installed, besides Gmail SMTP.

    Thread Starter LuisaDraws

    (@luisadraws)

    Sorry I forgot to mention that I made a re-installation of WordPress yesterday and I got all these errors.

    I’ll just try to fully install it again and see how it goes.

    EDIT: I just found this error in my debug log

    https://pastebin.com/rv6Y5QwR

    • This reply was modified 5 years, 4 months ago by LuisaDraws.
    Thread Starter LuisaDraws

    (@luisadraws)

    Okay so I tested another SMTP plugin and it worked fine, the issue is with your plugin.

    Test Email Error: https://pastebin.com/RNB542NN
    Debug log: https://pastebin.com/qJRRi70H

    Plugin Author Noor Alam

    (@naa986)

    @luisadraws, Thank you. I see this error in the log:

    PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php:179

    Did your web host disable cURL on the server?

    Thread Starter LuisaDraws

    (@luisadraws)

    No, curl module is installed and enabled in my server.

    php-curl is already the newest version (2:7.3+70+ubuntu16.04.1+deb.sury.org+6).
    
    • This reply was modified 5 years, 4 months ago by LuisaDraws.
    Plugin Author Noor Alam

    (@naa986)

    @luisadraws, Not sure why it failed to initialize cURL. Can you please check what it says under “Tools > Site Health”?

    Please also provide the content of the “Server Info” tab so I can take a look.

    Thread Starter LuisaDraws

    (@luisadraws)

    Plugin Author Noor Alam

    (@naa986)

    Thank you. Can you please copy and paste the content from “Settings > Gmail SMTP > Server Info”?

    Thread Starter LuisaDraws

    (@luisadraws)

    OS: Linux Namelesscraft 4.9.185-xxxx-std-ipv6-64 #799710 SMP Wed Jul 10 08:31:28 UTC 2019 x86_64
    PHP version: 7.4.0RC4
    WordPress version: 5.3
    WordPress multisite: No
    openssl: Available
    allow_url_fopen: Enabled
    stream_socket_client: Available
    fsockopen: Available
    cURL: Available
    cURL Version: 7.47.0, OpenSSL/1.0.2g
    

    I have exactly the same problem.
    If you find a solution please let me know.

    Plugin Author Noor Alam

    (@naa986)

    Thank you. I haven’t been able to identify the root cause of this problem. Feel free to try a different plugin.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can’t send emails’ is closed to new replies.