I'm trying to follow the example you have posted online for Imap Exchange connection.
However there is no .Connect() call in the library I just downloaded. Not sure how to make the connection?
Code was pulled from this url:
http://www.aspose.com/docs/display/emailnet/Connecting+to+Exchange+Server+using+IMAP
Code:
// Connect to Exchange Server using ImapClient class
ImapClient imapClient = new ImapClient(textBoxExchangeServer.Text , textBoxExchangeUser.Text, textBoxExchangePassword.Text);
imapClient.Connect(true); //this doesn't exist in the new download ????
// Select the Inbox folder
imapClient.SelectFolder(ImapFolderInfo.InBox);
// Get the list of messages
ImapMessageInfoCollection msgCollection = imapClient.ListMessages();
foreach (ImapMessageInfo msgInfo in msgCollection)
{
Console.WriteLine(msgInfo.Subject);
}
// Disconnect from the server
imapClient.Disconnect();