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

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

Postby dutch » Sun May 08, 2022 4:29 pm

Dear Detlef,

I got the new solution for smtp.gmail.com now.

1. 2 Step Verification (2SV)
2. App Password
2.1 Generate password with
Select app: "Mail", Select device: "Windows Computer"
2.2 Get 16 digits password.
2.3 Use this password instead of gmail's password.

done.

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: 1538
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

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

Postby Detlef » Sun May 08, 2022 10:12 pm

Uups! I didn't see your new post, Dutch. :oops:
Many thanks for it.
I'll give it a try.

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

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

Postby Jack » Wed May 11, 2022 8:44 am

Hi,
I try it and it works as expected.

Thanks for the feeback

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

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

Postby jose_murugosa » Tue May 24, 2022 1:07 pm

Muchas gracias por tan buen aporte.

thank you very much for such a good contribution!!
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1173
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

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

Postby hidroxid » Thu Jun 02, 2022 2:09 pm

Hello dutch

Have you any example in harbour to implement your solution?

Thank you in advance

dutch wrote:Dear Detlef,

I got the new solution for smtp.gmail.com now.

1. 2 Step Verification (2SV)
2. App Password
2.1 Generate password with
Select app: "Mail", Select device: "Windows Computer"
2.2 Get 16 digits password.
2.3 Use this password instead of gmail's password.

done.
hidroxid
 
Posts: 30
Joined: Sun Apr 24, 2011 12:50 am

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

Postby dutch » Fri Jun 03, 2022 4:09 pm

Hi hidroxid,

Have you ever send email via gmail account? If so, just change password to "App Password". That's it.
Code: Select all  Expand view
         :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserver" ):Value                 := cSmtp // "smtp.gmail.com"
         :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserverport" ):Value         := nPort // iif(lSSL,465,25)  // 465 SSL
         :Item( "http://schemas.microsoft.com/cdo/configuration/sendusing" ):Value              := 2   // Remote SMTP = 2, local = 1
         :Item( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ):Value       := iif(lAuthen,.T.,.F.) // .T.
         :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusessl" ):Value                 := lSSL // .T.
         :Item( "http://schemas.microsoft.com/cdo/configuration/savesentitems" ):Value          := lSave
         :Item( "http://schemas.microsoft.com/cdo/configuration/sendusername" ):Value           := cSender 
         :Item( "http://schemas.microsoft.com/cdo/configuration/sendpassword" ):Value           := cPass // use App Password instead of gmail password
         :Item( "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"):Value := 30
         :Update()

hidroxid wrote:Hello dutch

Have you any example in harbour to implement your solution?

Thank you in advance

dutch wrote:Dear Detlef,

I got the new solution for smtp.gmail.com now.

1. 2 Step Verification (2SV)
2. App Password
2.1 Generate password with
Select app: "Mail", Select device: "Windows Computer"
2.2 Get 16 digits password.
2.3 Use this password instead of gmail's password.

done.
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: 1538
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 32 guests