• Resolved smartedge

    (@smartedge)


    We ave WP_mail Smtp plugin on our website but we noticed that Oauth connection keeps getting disconnected every two weeks .

    Once this is disconnected we wont be the plugin wont be able to send emails again and Connected as? message wont be there again until we remove the Oauth connection and reconnect again .

    This process looks frustrating because we have to repeat the same process every two weeks ..

    Can you advise if we are getting something wrong ?

    Connected as?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Victoria Sakal

    (@sakalvictoria)

    Hi, @smartedge!

    Thanks for reaching out!

    Seems, that you are referring to the Google/Gmail mailer.

    Usually, when we see the Gmail mailer repeatedly disconnecting from WP Mail SMTP, it means that your Google API app (OAuth screen section: screenshot) is in the “Test mode” and needs to be changed to “Production” to resolve this issue.

    Can you please look into adjusting this setting in Google’s API & Services > OAuth consent screen > Publishing status area and see if it resolves this issue for you?

    Other Causes for Gmail Disconnections

    The OAuth token in Gmail will reset for any event breaking the connection, including but not limited to:

    – Changing Google password
    – Enabling or disabling 2FA
    – Google account access reset
    – Activation of Google’s advanced protection program
    – Revocation of the app to profile
    – App OAuth permission revoked by Google
    – App moved from public mode to private/internal mode by Google (or by a user whose user domain is not in the allowed org domain zone)
    – App verification failure on reaudit
    – Suspension of Google account
    – The user requested linked account unlinking
    – The user adds/removes sensitive or needs review scopes to the app but does not complete the app review process
    – If the user is at the maximum limit for OAuth tokens to a Google profile (50) or for the service (25 for example in analytics), activation of a new refresh key will also automatically revoke the earliest key

    Kind regards,

    Thread Starter smartedge

    (@smartedge)

    @sakalvictoria

    Many thanks for your input . Yes i am using gmail and the oauth was in test mode . I have made the changes . Your screenshot was really helpful .

    Thanks once again ! .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Oauth connnection keeps getting disconnected’ is closed to new replies.