Aspose.Email是一组控件用于轻松的开发email功能的应用程序、Web应用、Web服务和Windows应用。支持OutlookPST,EML,MSG,andMHT格式.允许开发者直接与SMTP,POP,FTP,和MSExchange服务器进行通信。支持邮件合并、iCalendar、定制邮件头和内容、嵌入文件等等。
示例代码:
//InitializetheMailPrinterclassMailPrintermsgPrinter=newMailPrinter();//LoadanemailmessageMailMessagemsg=MailMessage.Load("attachedandembeddedimage.msg",MessageFormat.Msg);//CallPrint()methodmsgPrinter.Print(msg,"test.xps",PrintFormat.XPS);
评论