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
Send e-mail (CDO) server SMTP GMAIL with oAuth2
- mauri.menabue
- Posts: 165
- Joined: Thu Apr 17, 2008 2:38 pm
- Lailton
- Posts: 181
- Joined: Fri Jul 20, 2012 1:49 am
- Location: Brazil
- Has thanked: 2 times
- Been thanked: 12 times
- Contact:
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Hi Maurizio,
We will provide support for the oAuth2 on the next version FWH
with samples to send e-mail using GMail/Outlook(Office365).
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
Lailton Fernando Mariano
- mauri.menabue
- Posts: 165
- Joined: Thu Apr 17, 2008 2:38 pm
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Outlook 2010 too?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).
Un Saludo
Carlos G.
FiveWin 25.01 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 10
Carlos G.
FiveWin 25.01 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 10
- Lailton
- Posts: 181
- Joined: Fri Jul 20, 2012 1:49 am
- Location: Brazil
- Has thanked: 2 times
- Been thanked: 12 times
- Contact:
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Yes, I think that this method works for any service microsoft ( Outlook, Office364, Live, hotmail etc )
Soon I will share some screen here.
Soon I will share some screen here.

Regards,
Lailton Fernando Mariano
Lailton Fernando Mariano
- Antonio Linares
- Site Admin
- Posts: 42715
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 93 times
- Been thanked: 103 times
- Contact:
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Dear Jack,
There is a complete example included in FWH 25.01 samples\gmail folder
There is a complete example included in FWH 25.01 samples\gmail folder
- Silvio.Falconi
- Posts: 7232
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 16 times
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
do you tried my classes ?mauri.menabue wrote: Sun Feb 09, 2025 2:16 pm 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
viewtopic.php?p=277951#p277951
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com