I've used Gmail account to send mail from my program for many years but Google show the message below in Gmail account setup. It means, we have to find the way to send email with Google "security standards". How do we solve this issue?
Less secure apps & your Google Account To help keep your account secure, starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.
Please note this deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.
For more information, please continue reading.
Special Note on Apple Device Sign-Ins. Users who have not recently signed into their Google Account using only username and password will be able to only make new sign in attempts using the Google account type starting from February 28, 2022. Existing users may continue to sign into their Google Account using their username and password until May 30, 2022.
Last edited by dutch on Sun May 08, 2022 4:30 pm, edited 3 times in total.
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Thank you for an idea. I try http://www.mailjet.com. It works fine but free with condition 200/day, 6,000/month and gmail.com will receive to Promotion mailbox.
I still love gmail, if we can still use after May 30, 2022.
I use imap with Thunderbird to read my mails on Gmail. Some time ago I received a warning about the end of the support of "less secure" apps. I disabled the less secure apps on Gmail and changed the protocol to OAuth 2. It worked flawlessly to receive the mails. As I don't use Gmail SMTP I don't know if it works to send mails but I guess it should once your application has been authenticated. It maybe worth a try.
The way out is OAuth2 for Gmail. How can I use OAuth2 protocol? Can you show me the sample please?
Thanks in advance,
ADutheil wrote:I use imap with Thunderbird to read my mails on Gmail. Some time ago I received a warning about the end of the support of "less secure" apps. I disabled the less secure apps on Gmail and changed the protocol to OAuth 2. It worked flawlessly to receive the mails. As I don't use Gmail SMTP I don't know if it works to send mails but I guess it should once your application has been authenticated. It maybe worth a try.
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Thank you, Dutch. Unfortunately my client wants to stay at gmail.com to send invoices to her customers. I' ll try to convince her to change to a service like mailjet.com as you did.
If the customer still need to use, I think. They just buy Google Workspace "Business Starter" 6US$/month.
Please note this deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.
Detlef wrote:Thank you, Dutch. Unfortunately my client wants to stay at gmail.com to send invoices to her customers. I' ll try to convince her to change to a service like mailjet.com as you did.
Have a nice weekend. Regards, Detlef
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)