Aspose.Email for .NET 1.6.0 发布,该版本的 FolderInfo 类增加 EnumerateMessageObjects 和 EnumerateMapiMessages 方法用于改善 PST 读取性能,修复了很多的 bug。
Aspose.Email for .NET 是一组控件用于轻松的开发 email 功能的应用程序,基于 ASP.NET 的Web应用、Web服务和Windows 应用。支持 Outlook PST, EML, MSG, and MHT 格式. 允许开发者直接与 SMTP, POP, FTP, 和 MS Exchange 服务器进行通信。支持邮件合并、iCalendar、定制邮件头和内容、嵌入文件等等。
示例代码:
// Initialize the MailPrinter class
MailPrinter msgPrinter = new MailPrinter();
// Load an email message
MailMessage msg = MailMessage.Load("attached and embedded image.msg", MessageFormat.Msg);
// Call Print() method
msgPrinter.Print(msg, "test.xps", PrintFormat.XPS);
Aspose.Email 的详细介绍:请点这里
Aspose.Email 的下载地址:请点这里
