Have you thought of doing this in outlook.vba? You can open dbfs via ado, that's the easy part I guess.
>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.
>.
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.