General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>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.
>.
Well, as it turns out, I was able to use POP3 instead of IMAP, and I used a class named wwPOP3 from West Wind. It was a total FoxPro solution, no .Net involved.
It was simply a yummy piece of cake to make this work with this nice library and documentation.
Thanks West Wind!
.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only