Sample to download email from imap server

Sample to download email from imap server

Postby hua » Sun Oct 08, 2017 1: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
hua
 
Posts: 1034
Joined: Fri Oct 28, 2005 2:27 am

Re: Sample to download email from imap server

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Sample to download email from imap server

Postby hua » 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
hua
 
Posts: 1034
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 9 guests