• Resolved lulupierce

    (@lulupierce)


    I think my changing my Google password may have stopped it from working. I think I read in the documentation somewhere that this happens naturally and that you have to re-create the secret key etc. So I have and it’s still not working.

    Using Google Mailer. Following instructions to figure out what the issue is.

    In instructions (https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/) this line is not in My Google console:

    Enabling the Gmail API

    Next, you need to enable the Gmail API for your project. In your Google Cloud Console sidebar, go to?APIs & Services ? Library.

    Here is the error:

    Heads up! The last email your site attempted to send was unsuccessful.
    
    Email Source: WP Core
    Mailer: Google / Gmail
    {
    "error": {
    "code": 401,
    "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "errors": [
    {
    "message": "Login Required.",
    "domain": "global",
    "reason": "required",
    "location": "Authorization",
    "locationType": "header"
    }
    ],
    "status": "UNAUTHENTICATED",
    "details": [
    {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "reason": "CREDENTIALS_MISSING",
    "domain": "googleapis.com",
    "metadata": {
    "service": "gmail.googleapis.com",
    "method": "caribou.api.proto.MailboxService.SendMessage"
    }
    }
    ]
    }
    }

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Dake

    (@dakeg)

    Hi @lulupierce

    Thanks for reaching just to confirm did you also re-authorize your connection? Meaning did you remove the connection via your WP Mail SMTP settings, then re-authorize?

    If you have and the issue continues, you can try performing the full Google mailer setup steps once more.

    Thread Starter lulupierce

    (@lulupierce)

    Hi Dake. Did I re-authorize? By clicking the big orange button that says “allow plugin to send emails….”. yes. It asks me to log into the Google account I’m using, allow that account to perform that function, and then says ‘Account Connected! and a page of Constant Contact info”. which is weird because that’s not related to what I’m doing. That was my first point of confusion.

    When you ask “did you remove the connection via your WP Mail SMTP settings…” can you be a little more specific? I went through the whole documentation following the instructions until the instructions no longer looked like what I was seeing (detailed in my post).

    This doesn’t seem like it is that hard, and I successfully set it up once, so I really feel like I should be able to handle this. It would help though if the instructions matched what I’m seeing.

    Anyway, any help you could provide would be great. thanks.

    Plugin Support Dake

    (@dakeg)

    Hi @lulupierce

    Thank you for getting back to us.

    You mentioned that “APIs & Services ? Library” wasn’t appearing on your end. It seems that in some instances of the Google Cloud console “APIs & Services ? Library” no longer appears in the sidebar by default, you’ll need to hover over “More Products” in the sidebar and pin “APIs & Services ? Library” to your default sidebar.

    You are correct about the constant contact interaction, that should not be a part of the authorization process. I’m guessing that you have a Constant Contact plugin enabled? If yes, you may want to consider disabling it temporarily.

    What I meant by “removing the connection” was, did you click the red button that appears while your connection is authorized:

    https://a.supportally.com/i/nRfTAf

    Thread Starter lulupierce

    (@lulupierce)

    I wish I had thought of that – to temporarily disable the CC plugin. I did that, went back into the settings, did the authorization and it works perfectly now. Re-enabled the CC plugin and all seems still good. very strange. thanks for that! Is it true that when my google password is changed, I need to generate a new project?

    Plugin Support Dake

    (@dakeg)

    Hey @lulupierce

    We’r glad to hear that you got things sorted on your end.

    Generally speaking you would just need to re-perform the authorization.

    But we suggest performing all steps if for some reason that doesn’t resolve the issue.

    Thread Starter lulupierce

    (@lulupierce)

    Gotcha. Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot Send Email’ is closed to new replies.