Aspose.Email是一组控件用于轻松的开发email功能的应用程序、Web应用、Web服务和Widows应用。支持OutlookPST,EML,MSG,adMHT格式.允许开发者直接与SMTP,POP,FTP,和MSExchage服务器进行通信。支持邮件合并、iCaledar、定制邮件头和内容、嵌入文件等等。
示例代码:
//IitializetheMailPriterclassMailPritermsgPriter=ewMailPriter();//LoadaemailmessageMailMessagemsg=MailMessage.Load("attachedadembeddedimage.msg",MessageFormat.Msg);//CallPrit()methodmsgPriter.Prit(msg,"test.xps",PritFormat.XPS);






评论