What is wrong? Any ideas?
]]>I use your plugin on many of my websites. However I get errors now and again.
I hook up using a Gmail API successfully and the STMP works perfectly fine for ages. Then one day, all of a sudden, it will just stop working. The password remains the same, but I get Bad Request(invalid_grant).
As these are client websites they miss out on some emails and then I have to grant permission with Google again. Is there any reason why this happens and it doesn’t stay connected?
Thank you
David W
{ "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": { "method": "caribou.api.proto.MailboxService.SendMessage", "service": "gmail.googleapis.com" } } ] } }
Everything seems to be well configured both on Post SMTP side and on Gmail side, as I was able to send test messages.
What can make this “UNAUTHENTICATED” with “CREDENTIALS_MISSING” reason happen? Am I doing something wrong?
Thanks in advance for any help.
]]>The process, though long, worked like a charm.
The problem I ran into was that emails were being sent from my developer account instead of the client account.
Looking back over the documentation, this is the section I missed.
Should it help any of you, you must log in through the sender’s Gmail account if you want to authorize the app to send from that account. (obvious in retrospect, but an easy mistake to make).
—–
Update: this did not work as expected. Receiving the following error:
Error 403: org_internal
Anyone know how to create an app as a developer and send as the client? (other than creating the Google API app through the client’s developer console?)
]]>I have this WPForms contact form in my website which I have connected with Gmail API, in order to receive the messages in my email. I am no expert and it takes a lot of effort to do it, but following the steps I have managed to configure it several times. The problem is, every time, eventually, it just stops working. I configured it once again this afternoon, and i got the test message in my inbox, so it was working, but right now is not working again. I am desperated and possibly losing messages and work. Is there anything that makes the Plugin to stop working, or breaks the connection with Gmail?
]]>I’ve searched this forum and didn’t see any similar posts so starting a new thread…
Is anyone else running into this issue where you’ve selected Gmail API from the dropdown in Google Cloud, you click on “user data” and it just won’t let you select it? I then tried selecting “application data” just to see what would happen and it also won’t select.
This is the step I’m referring to: https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#credentials
Appreciate any insight anyone might have. In case it matters, I’m using a personal, free Gmail account for testing purposes until I decided on the final SMTP solution.
]]>Notifications are not delivering from the WP form on my website.
I tried troubleshooting by following this link https://wpforms.com/docs/troubleshooting-email-notifications/. and it takes me through to a page that reads ‘you are allowing wpmailsmtp.com to: read, compose, send and permanently delete all your email from Gmail’.
I came out of everything as this didn’t look right.
Could someone suggest where I went wrong please?
Thanks
]]>First of all I want to thank your for creating this wonderful plugin. It solved the mail sending problem of my WordPress site and this is important to me.
I used Fluent Form Pro to created a contact form on my site and then I followed this link https://kinsta.com/blog/gmail-smtp-server/ to set up the Post SMTP Mailer so when someone submits with the form, my site uses Gmail API to send email notifications, one for the submitter and one for the admin. These two email templates have been set up in Fluent Form with different contents.
Everything works fine so I have no complain. Just noticed a little thing which is a copy of the email for the submitter was forwarded to the admin too. This is redundant because I’ve already got an email for admin with relevant info so don’t need to see what got sent to the submitter anymore.
I reckon this must be something that I can change either in Post SMTP plugin or Gmail API, but can’t find the right way to do it.
Anyone can help? I use G Suite mail by the way.
Any input is appreciated.
]]>Step 19 fails repeatedly for Connection with Google. I click allow using the GSuite account through which the SMTP will send and also the OAuth is created.
I get a 404 error on my site for a non-existent page while the OAuth URL is trying to register
https://URL.org/wp-admin/options-general.php?page=postman&state=**********&code=4/**********=https://mail.google.com/