• Resolved Alex Marshall

    (@amarshall2)


    We were on WP Mail SMTP Lite and started getting email unsuccessful delivery errors. (not sure if we hit a limit for lite or what triggered the problem. We have minimal email requirements for the site, with an uptick in July for VBS registration (less than 100) we receive via wpforms plugin. I thought I would update mail to Gmail API and followed the step by step wizard to set it up. I never get the opportunity to send a test email, (that screen/option is greyed out).

    I receive the following errors after I do the authorization:

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

    Email Source: WPForms Lite 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” }

    I found a similar posting from 10 months ago (Josh Smith(@docsmith16), that seemed very similar that was caused by plugin conflict (Constant Contact Forms). However we do not have that plugin. I did deactivate our WPforms plugin just to see if any effect, but there was no difference with it deactivated or activated…still the same errors above. Can someone point me in the right direction to resolve and get our emails sending again. Thanks,

    • This topic was modified 5 months, 2 weeks ago by Alex Marshall.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @amarshall2,

    The topics listed below should help solve your issue. If not, visit the Support forum for this plugin to find a solution by entering the following term in the topics search field: Google API

    Cannot Send Test Email After Setup with Gmail API
    Gmail API Fails Occasionally Saying Token is Invalid

    Best wishes!

    Plugin Support Dake

    (@dakeg)

    Hey @amarshall2

    Thanks for reaching out and we’re sorry to hear that you are experiencing issues with the Gmail mailer.

    Also, thank you @generosus for trying to help out as well ??

    @amarshall2 As mentioned in the Jon Smith thread, the error message you shared mentions that your connection is not authenticated and the usual solution is to to authorize your connection, if you have not tried already, please go to your WP Mail SMTP Settings page (WP Mail SMTP > Settings).

    On this page, scroll down and click the?Allow plugin to send emails using your Google account?button and?Save Settings?to authenticate your connection. (https://a.supportally.com/i/2Yv6At).

    This will trigger Google to launch a popup to continue the connection setup. In case it helps, this section of our guide provides additional details on this step.

    In case it helps, we also have a video walkthrough of the entire setup process in case any steps were missed.

    If the above does not work for you, can you please let me know if you are using the latest version of WP Mail SMTP (4.0.2)? Also, what plugins do you currently have installed?

    Just in case you are still experiencing delivery issues, I’d really recommend setting up a different mailer in the meantime. For example you can look into setting up the SendLayer (free trial) or Brevo (free tier) mailers which will allow you to continue sending emails while we look into this issue you’re having with the Google mailer.

    If you’re open to this, you can find their respective tutorials here and here.

    Thread Starter Alex Marshall

    (@amarshall2)

    Thanks, I’m OOO, but will work on this next week and keep you posted. thanks,

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