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.
Thank you very well for the response. Finally, i have purchased wp smtp pro
plugin. The set up has been automatically done buy them. Thabk you for your
support.
I met à similar issue with my gmail adress authentification with make. I
am still on the need. So, If you can assist on that, it will be wonderful.
Best regards!
Thank you. After doing the nécessaire and get an ID client et secret, I
put them on the dedicated spacieux on make. When I tried the connexion with
my Gmail accojnt, it was blocked.
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
I had the same question while trying to configure WP SMTP with Gmail for my WordPress site. I followed the same process of creating the app in Google Cloud, adding the credentials, and pasting them into the plugin, but I kept running into the exact same 401 UNAUTHENTICATED error. The message about “missing required authentication credential” and “Login Required” kept showing up even though everything looked correctly configured.
It seems like the issue is tied to the OAuth setup, because the plugin isn’t able to get or refresh the access token properly. I also tried following Google’s documentation and even adding code snippets, but the emails still failed to send. From what I’ve read, the whole process of enabling Gmail API, setting up OAuth client IDs, and making sure the redirect URIs in WordPress exactly match the ones in Google Cloud is very sensitive — one small mismatch and it fails.
If you’ve found a reliable fix, especially regarding how to handle the credentials or refresh tokens so they stay valid, I’d really like to hear about it too.