Hi,
Thank you for using Aspose.Email.
I tried to reproduce your issue using the latest version of Aspose.Email for .NET and the following code, but was unable to get success in this. Can you please tell us what you want to achieve? I would request you to please give a try to the following code and let us know your feedback. You can also have a look at our detailed Programming guide available online HERE .
ExchangeWebServiceClient client = GetEWSClient();
Console.WriteLine("Connected to Exchange 2010");
Console.WriteLine("Exchange Version: {0}", client.GetVersionInfo());
// Call ListMessages method to list messages info from Drafts
ExchangeMessageInfoCollection msgCollection = client.ListMessages(client.MailboxInfo.DraftsUri);
// Loop through the collection to get Message URI
foreach (ExchangeMessageInfo msgInfo in msgCollection)
{
string strMessageURI = msgInfo.UniqueUri;
// Now get the message details using FetchMessage()
MailMessage msg = client.FetchMessage(strMessageURI);
// Display message details
Console.WriteLine("Subject: " + msg.Subject);
}
If the issue still persits, please provide us a runnable console application along with a test account on your server, so that we can reproduce the issue at our end and assist you further.
Hi,