• Needs to be reset (OAuth) every few days, emails start to fail after a while. It does seem to show an alert on the Dashboard, but it doesn’t render any error messages… Also, the API for Google Cloud displays a notable error for your team’s references. . . . “This app is not trusted, Proceed? (Unsafe.)”

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support David

    (@dpinson)

    Hi there @nickandyhead,

    Thanks for reaching out! We’ll be happy to help you get this sorted out.

    Usually, when we see the Gmail mailer repeatedly disconnecting from WP Mail SMTP, it means that your Google API app (OAuth screen section: https://a.supportally.com/HMVXQm) 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:

    1. Changing Google password
    2. Enabling or disabling 2FA
    3. Google account access reset
    4. Activation of Google advanced protection program
    5. Revocation of the app to profile
    6. App OAuth permission revoked by Google
    7. 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)
    8. App verification failure on reaudit
    9. Suspension of Google account
    10. User requested linked account unlinking
    11. The user does not use the app for 6 months (automatically expires refresh token)
    12. The user adds/removes sensitive or needs review scopes to the app but does not complete the app review process
    13. 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

    To resolve the issue, please head over to the?WP Mail SMTP > Settings?page, and click on the “Remove Connection” button. Then click on the “Allow plugin to send emails using your Google account” button to re-enable access.

    Verified App

    You also mentioned seeing a warning that said “This app is not trusted, Proceed? (Unsafe.)” The wording is a little different from what we’ve seen, but it sounds like the verification screen. This notice that you see is due to Google’s strict security settings. In this case, you can go ahead to click on Advanced Options > Go to [your site name] to proceed with the configuration (please see the screenshot?here: https://a.supportally.com/8yXSUv).

    In case it helps, you can check more information about this error in our guide here: https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#verified.

    I hope that helps! Have a great day!

    Thread Starter nickandyhead

    (@nickandyhead)

    Thank you. This is good info you’ve shared. I will look into the first part of your reply a little more, but it makes sense.

    As far as the verified app problem goes, do you plan on resolving this issue? I realize there is a way to proceed through the verification screens, which is of course what I did. But I was wondering if you plan to better your plugin’s relationship with Google’s mailer?

    Plugin Support David

    (@dpinson)

    Hi there @nickandyhead,

    Thanks for the response. Since you’re connecting WP Mail SMTP directly to your Google account, Google is referring to the app you create in the Google console. So, in this case, you would be considered the app developer (the one in Google, not WP Mail SMTP itself).

    I hope that helps! Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.