Hello. I am using Dolibarr 22.0.2 and i set up Emails to be send via SMTP/SMTPS socket library using an OAUTH token from Google. The token expires after 1 hour and does not refresh automatically.
Is there a way to do this automatically? Because now i have to go to Token Manager and refresh it manually.
Thank you
The OAUTH token from Google is designed to expires after 1 hour and refreshed when you need it.
After that hour i emptied i send an email to a customer.
The token refreshed automatically and everything is fine
then how would that work during the night or weekend @corpus if one has to send emails all the time?
Or is it just a one time do this right after install and it will work?
The OAUTH token from Google is designed to expires after 1 hour and refreshed when you need it, so every time you send an email if the token is expired it will refresh for one hour.
Don’t expect that the Test sending option from Setup-Email will renew it.
When you have an Amazon AWS account just use SES. It’s free when you stay below the 2000 emails a month. It’s set and forget SES means Amazon Simple Email Service.




