Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post Reply
User avatar
mauri.menabue
Posts: 163
Joined: Thu Apr 17, 2008 2:38 pm

Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post by mauri.menabue »

Good morning everyone
I need help to be able to send emails from one of my FiveWin 32 bit applications
through the use of one or more gmail SMTP servers with recent oAuth2 authentication.
On the English forum Antonio replies, however, the code provided is pseudo code provided by deepseek and not
I have the experience needed to turn it into production-usable code.
Thanks to everyone Maurizio Menabue
User avatar
Lailton
Posts: 169
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Has thanked: 2 times
Been thanked: 6 times
Contact:

Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post by Lailton »

Hi Maurizio,

We will provide support for the oAuth2 on the next version FWH
with samples to send e-mail using GMail/Outlook(Office365).
Regards,
Lailton Fernando Mariano
User avatar
mauri.menabue
Posts: 163
Joined: Thu Apr 17, 2008 2:38 pm

Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post by mauri.menabue »

I wainting until the next release came :D
TIA
FiveWiDi
Posts: 1238
Joined: Mon Oct 10, 2005 2:38 pm
Has thanked: 3 times
Been thanked: 4 times

Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post by FiveWiDi »

Lailton wrote: Tue Feb 11, 2025 4:30 am Hi Maurizio,

We will provide support for the oAuth2 on the next version FWH
with samples to send e-mail using GMail/Outlook(Office365).
Outlook 2010 too?
Un Saludo
Carlos G.

FiveWin 24.02 + Harbour 3.2.0dev (r2403071241), BCC 7.7 Windows 10
User avatar
Lailton
Posts: 169
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Has thanked: 2 times
Been thanked: 6 times
Contact:

Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2

Post by Lailton »

Yes, I think that this method works for any service microsoft ( Outlook, Office364, Live, hotmail etc )
Soon I will share some screen here. :D
Regards,
Lailton Fernando Mariano
Post Reply