gmail : Less Secure App will stop May, 30 2022 *Fixed*

gmail : Less Secure App will stop May, 30 2022 *Fixed*

Postby dutch » Thu Mar 10, 2022 4:28 am

Dear All,

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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: gmail: Less Secure App Access will no longer on May, 30 2022

Postby karinha » Thu Mar 10, 2022 11:23 am

maybe in the future, test please:

https://mail.yandex.com/

Configuration, use the google traductor, please;

https://fiodevida.com/como-acessar-uma-conta-yandex-mail-em-programas-de-e-mail-usando-imap/

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7874
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: gmail: Less Secure App Access will no longer on May, 30 2022

Postby dutch » Tue Mar 15, 2022 3:54 am

Dear Karinha,

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.
karinha wrote:maybe in the future, test please:

https://mail.yandex.com/

Configuration, use the google traductor, please;

https://fiodevida.com/como-acessar-uma-conta-yandex-mail-em-programas-de-e-mail-usando-imap/

Regards, saludos.
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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby Jack » Sat Mar 19, 2022 9:26 am

Hi,
Is it possible to use the same code with Hotmail / Outloo ?

Some simple ?

Thanks
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Sat Mar 19, 2022 2:35 pm

Dear Jack,

Sorry Jack, Hotmail is the same as Google. I try mailjet.com, it works fine without changing the program but register is a bit more gmail.
Jack wrote:Hi,
Is it possible to use the same code with Hotmail / Outloo ?

Some simple ?

Thanks
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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby ADutheil » Sat Mar 19, 2022 6:23 pm

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,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Mon Mar 21, 2022 3:15 am

Dear ADutheil,

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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby ADutheil » Mon Mar 21, 2022 3:14 pm

Sorry I can't help with that, as I said I use it with Thunderbird not Harbour. At the moment I have no spare time to dig a solution.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Mon Mar 21, 2022 4:20 pm

Dear ADutheil,

No problem, Thanks for an idea.
ADutheil wrote:Sorry I can't help with that, as I said I use it with Thunderbird not Harbour. At the moment I have no spare time to dig a solution.
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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby horacio » Tue Apr 12, 2022 4:38 pm

Dear Dutchman, you were able to develop OAuth2 for sending mails?. Thank you

Regards
Horacio
horacio
 
Posts: 1363
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Wed Apr 13, 2022 3:57 am

Not yet. I gonna move to other choice (mailjet.com).
horacio wrote:Dear Dutchman, you were able to develop OAuth2 for sending mails?. Thank you

Regards
Horacio
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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby Detlef » Fri Apr 29, 2022 6:42 am

Dear Dutch,
did you find a solution or more information about gmail smtp for less secure apps?

Regards, Detlef
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Fri Apr 29, 2022 7:59 am

Dear Detlef,

I move to mailjet.com. It can send almost the same as smtp.gmail.com, the limitation is 200/day = 6,000/month. I try and work well.
Detlef wrote:Dear Dutch,
did you find a solution or more information about gmail smtp for less secure apps?

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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby Detlef » Fri Apr 29, 2022 8:09 am

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
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: send email gmail : Less Secure App will stop May, 30 2022

Postby dutch » Fri Apr 29, 2022 9:14 am

Dear Detlef,

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)
User avatar
dutch
 
Posts: 1554
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests