Hello,
Informations:
CMS: I have a wordpress website created since june 2024.
hosting: My host is hostinger.
Email sender: WP SMTP. I set the free plugin and I used to received emails and each event occurs on the site (sign up, sell, booking.....)
Since Yesterday, My google business profile is enabled. So, I am trying to set up email sending with Wp SMTP. I have developped an app and put the credentials But, I always receive the message below:
Attention ! Le dernier e-mail que votre site a tenté d’envoyer n’a pas abouti.
Source de l’e-mail : User Verification 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.
I have add the code on this documents to my wp code without any resulsts. https://developers.google.com/identity/sign-in/web/sign-in?hl=fr
I need your support to solve this issue.
Best regards!
@AssomeFSP as of March 14, less secure apps using username and password no longer work. See https://support.google.com/a/answer/14114704?hl=en.
You should use a plugin that support OAUTH2 or look at app passwords: https://support.google.com/accounts/answer/185833?hl=en
HTH, KAM
@AssomeFSP You'll have to describe your issue with make better but happy to try. -KAM
I'm afraid I don't work with Gmail much for freemail and this is a forum for Google Workspace. You might want to go talk to the Gmail product forums at https://support.google.com/mail/community?hl=en -KAM