>Does anyone know how to read/download emails from an IMAP inbox?
>
>I want to connect to the IMAP email account/server to pull down any new emails in the folder. Each email will have a single PDF attached), and then I need to delete the email from the server so it will not get processed a second time. I'm basically using the Inbox like in incoming queue where I need to save that PDF to a local folder, and blah, blah, blah.
>
>I need to use FoxPro to do this, as the subject line will contain a Job Number that I need to verify in the database, and that will tell me where I need to save the PDF.
>
>I supposed I could do all this in .Net and I could lookup of the Job Number from the FoxPro DBF using and ADO query. All I need to do do is very that it is a value JobNumber and from there I will know that it is good and where to save the PDF to.
>.
Hi,
I suppose this
http://code.msdn.microsoft.com/windowsdesktop/emails-using-IMAP-53046bc2 will give you a good starter.
Regards,
Koen