• Resolved vaughancavca

    (@vaughanwalton)


    Hi there,

    WP Mail SMTP has given me the following error message:

    Heads up! The last email your site attempted to send was unsuccessful.

    Email Source: WPForms Lite Mailer: Google / Gmail { “error”: “invalid_grant”, “error_description”: “Token has been expired or revoked.” } Please re-grant Google app permissions! Go to WP Mail SMTP plugin settings page. Click the “Remove OAuth Connection” button. Then click the “Allow plugin to send emails using your Google account” button and re-enable access.

    For more details please try running an Email Test or reading the latest error event.

    I removed the OAuth Connection, and then clicked “Allow plugin to send email using your Google account”, but I’m now getting this error message from Google:

    Access blocked: This app’s request is invalid

    You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error

    If you are a developer of this app, see error details.

    Error 400: redirect_uri_mismatch

    Is there any way to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vaughancavca

    (@vaughanwalton)

    The Google error is as follows:

    You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy.

    If you’re the app developer, register the redirect URI in the Google Cloud Console.

    Request details: redirect_uri=https://connect.wpmailsmtp.com/google

    Plugin Support David

    (@dpinson)

    Hi there @vaughanwalton ,

    When you get a moment, double-check your Google Console settings to make sure the Redirect URI matches what shows in WP Mail SMTP.

    https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#oauth

    If it’s still not connecting, you may need to recreate the connection using the guide in the link above.

    I hope that helps! Have a great day! ??

    Thread Starter vaughancavca

    (@vaughanwalton)

    Thanks – I just needed to change the Redirect URI in Google Console, all fixed now!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Email sending unsuccessful’ is closed to new replies.