• Resolved jv360

    (@jv360)


    I’m not receiving emails from the site and the test email isn’t working. Any suggestions much appreciated.

    Here is the Error Log:

    Versions:
    WordPress: 5.3.2
    WordPress MS: No
    PHP: 5.6.40
    WP Mail SMTP: 1.8.1

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

    Server:
    OpenSSL: OpenSSL 1.0.2q 20 Nov 2018
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 7.59.0

    Debug:
    Mailer: Gmail
    {
    “error”: “invalid_grant”,
    “error_description”: “Bad Request”
    }

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jv360,

    The Invalid Grant error usually indicates that there are permission issues due to the Secret Key (and all tokens that were generated using that key) being invalidated. This could happen when the Gmail password is changed or when 2FA is enabled.

    To resolve this you’ll need to regenerate tokens by going to the console.developers.google.com > Credentials page. Click on the Edit screen for your credentials and Reset Secret after that. Here’s the button you need to click: http://take.ms/2EQIn

    Alternatively, you can go through all the steps in our setup tutorial again.

    I hope this helps!

    Hi @jv360 – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

    Thread Starter jv360

    (@jv360)

    Hi Sanjeev

    I couldn’t resolve the issue using Gmail so I set up a Sendgrid account instead and that is working well,

    Thanks for your help and yes, all resolved now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue detected’ is closed to new replies.