• Resolved allanbrito

    (@allanbrito)


    Hi,

    After the last update to version 1.2.4 I can’t send messages using Gmail.

    Here is what I got when trying to send a test message:

    There was a problem while sending a test email. Related debugging output is shown below:

    Versions:
    WordPress: 4.9.2
    WordPress MS: No
    PHP: 7.0.22-0ubuntu0.16.04.1
    WP Mail SMTP: 1.2.4

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: Yes
    Access Token: Yes

    Server:
    OpenSSL: Yes
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): Yes
    Apache.mod_security: No

    Debug:
    Error while sending via Gmail mailer: {
    “error”: “invalid_grant”,
    “error_description”: “Bad Request”
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    1.2.4 doesn’t break compatibility with Google.

    1) Please make sure, that you have NOT actively revoked access to the app that is used to send emails.

    2) Also, if you have reset/recovered Google password – that may break things too, and you would need to reauth (allow again). Delete all tokens, save, and reenter Client ID/Secret again and saved. Click Allow… and confirm that again.

    Please try that and get back to me again. Marking as closed as I’m pretty sure 2) will fix the problem.

    • This reply was modified 7 years, 2 months ago by Slava Abakumov. Reason: added tag
    Thread Starter allanbrito

    (@allanbrito)

    Thanks for the quick reply.

    For some reason, I had to authorize the plugin to use my Gmail again. Just disabled it, and the plugin asked me for access again.

    Everything is working again.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gmail stopped after last update’ is closed to new replies.