• Resolved mxldevs

    (@mxldevs)


    We have a multi site setup where different users manage different sites, and therefore the email address it should be sent from may be different.

    Three of our sites are managed by the same person, so we want those sites to all use the same email.

    I’ve set it up for gmail and it works. I can have the user authorize his email for each site.

    However, sometimes I’ve noticed the connection suddenly disappears and therefore attempts to send email will naturally fail. It’s unclear under what circumstances it occurs, but usually we realize something is wrong when we aren’t getting emails that we should have received.

    I’m not sure if this is an issue with using the same email too many times?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @mxldevs,

    Thanks for reaching out.

    Gmail connection may break for any qualifying token revocation event, but not limited to:
    – Changing google password
    – Enabling or disabling 2fa
    – Google account access reset
    – Activation of Google advanced protection program
    – Revocation of 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
    – User requested linked account unlinking
    – The user does not use the app for 6 months (automatically expires refresh token)
    – User adds/removes sensitive or needs review scopes to 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

    In such cases, you need to reconnect by head over to the WP Mail SMTP -> Settings page.

    If you’re currently using the “Test” mode on your Google App, please head over to your Google App and publish it (see: https://a.supportally.com/uDnlHL). Then remove your existing Gmail connection under the WP Mail SMTP -> Settings page and reconnect to it.

    I hope this helps.

    Thanks!

    Thread Starter mxldevs

    (@mxldevs)

    We currently have not published the app. Could this be the reason why tokens are revoked or connections disappear?

    It says verification is required. Is there a way to be able to use the gmail API so that we don’t need to verify the app?

    • This reply was modified 3 years, 5 months ago by mxldevs.
    Plugin Support Darshana

    (@darshanaw)

    Hi @mxldevs,

    Thanks for getting in touch!

    Yes, you need to publish your app in order to avoid those connection reset issues.

    You don’t have to go through any special app verification process. If you have already created the Google App using your Gmail account, simply head over to your “OAuth consent screen” and publish your app (see screenshot).

    If you’re using G Suite (Google Workspace) account, you can click on the “Make External” button under the “OAuth consent screen” to set your app status (see).

    I hope this helps.

    Thanks!

    Hi @mxldevs,

    We haven’t heard from you in a while, 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.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Connecting the same email to different sites’ is closed to new replies.