Cannot Send Email
-
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.
- The topic ‘Cannot Send Email’ is closed to new replies.