FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM
Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Sun Feb 09, 2025 02: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

Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Tue Feb 11, 2025 04: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).

Regards,

Lailton Fernando Mariano
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Tue Feb 11, 2025 04:15 PM
I wainting until the next release came :D
TIA
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Tue Feb 11, 2025 08:55 PM
Lailton wrote: 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 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Sat Feb 15, 2025 04:12 AM
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
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Thu Mar 13, 2025 10:34 AM

Hi,

Any sample about this ?

Thanks,

Philippe

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Thu Mar 13, 2025 11:53 AM

Dear Jack,

There is a complete example included in FWH 25.01 samples\gmail folder

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Send e-mail (CDO) server SMTP GMAIL with oAuth2
Posted: Fri Mar 14, 2025 09:15 AM
mauri.menabue wrote: 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
do you tried my classes ?
https://forums.fivetechsupport.com/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

Continue the discussion