FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Sample to download email from imap server
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Sample to download email from imap server
Posted: Sun Oct 08, 2017 01:32 AM

Hi,
Anyone has sample code to download email from gmail's imap server?

TIA

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Sample to download email from imap server
Posted: Tue Oct 31, 2017 10:15 PM
Hua,

I just now saw your message. About a year ago I did some testing with an ActiveX component called MailBee that does work with IMAP. I was testing SMTP not IMAP so I can't be of much help with that.

They do have a free 39 day trial. For more info see on this page.

Please send me an email (get my email address from my website), and I will send you some more info.

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Sample to download email from imap server
Posted: Wed Nov 01, 2017 10:48 AM

Thanks for the reply James.

I'm hoping to be able to do so without resorting to a commercial 3rd-party product.

I see that curl now has support for IMAP but I haven't been able to sit down and test it out. Even a solution using POP is ok with me as long I can programmatically check the email's content and process any attachments.

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion