Support » Plugin: WP Mail SMTP by WPForms » Gmail stopped after last update

  • Resolved allanbrito



    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:

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

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

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

    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


    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 1 year, 12 months ago by Slava Abakumov. Reason: added tag

    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.