Hi Mark,
Thanks for considering Aspose.
ExchangeClient has ListMessages() method to get all the messages from an exchange folder. You can use the overloaded method ListMessages(string folder, bool recursive) to get messages from subfolders too. Sample code is given below:
NetworkCredential credential = new NetworkCredential(username, password, domain);
ExchangeClient
client = new ExchangeClient(mailboxUri, credential);
ExchangeMailboxInfo
mailbox = client.GetMailboxInfo();
ExchangeMessageInfoCollection
msgInboxCollection = client.ListMessages(mailbox.InboxUri, true);
Regarding Pop3 and Imap, will you be using exchange server or is this requirement of another application. I would recommend to use ExchangeClient class for managing emails on Exchange server.
Best Regards,
Saqib Razzaq
Support Developer, Aspose Sialkot Team
http://www.aspose.com
Your File Format Experts