Dear Customers,

We’ve released Aspose.Network

What’s new features in this version:

  • Supports Imap v4 protocols, a new Aspose.Network.Imap namespace is exposed.


ImapClient client = new ImapClient(“”, “user”, “password”);

Console.WriteLine(“Selecting folder ‘{0}’…”, “inbox”);
//select the inbox mail folder

ImapFolderInfo folder = client.CurrentFolder;

// Show number of messages in the folder
Console.WriteLine("{0} messages found.", folder.TotalMessageCount);

MessageInfoCollection list = client.GetMessageInfoList();

// Download each message
for (int i = 0; i < list.Count; i++)
ImapMessageInfo message = list[ i ];

// Create filename from email unique ID  
string filename = message.UniqueId + ".eml";  
if (message.Subject != null)  
 //get the message and save the attachments  
  if (message.Subject.Equals("Imap Test",                                                      StringComparison.InvariantCultureIgnoreCase))  
  client.SaveMessage(message.UniqueId, filename);  
  MimeMessage mime = client.GetMimeMessage(message.UniqueId);  
  foreach (Aspose.Network.Mime.MimePart attachment in mime.GetAttachments())  
//save the eml file locally  
client.SaveMessage(message.UniqueId, filename);  


  • Resolved x-mailer bug in SmtpClient.Merge
  • Improve the Mail Merge feature, a new event called TemplateMerge is exposed
  • Resolved some minimal issues in Calendar components.