Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read/download emails from IMAP account
Message
 
To
03/03/2014 09:58:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01595661
Message ID:
01595678
Views:
61
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform