Print Email Message to XPS with Aspose.Email for .NET
We are pleased to announce the release of Aspose.Email for .NET 1.2. In this version, we have added support for printing email messages to XPS format using the MailPrinter class. The Print() method takes an instance of the MailMessage class as an argument, so you can print EML, MSG, or MHT files. This sample code shows how to print an email:
// Initialize the MailPrinter class MailPrinter msgPrinter = new MailPrinter(); // Load an email message MailMessage msg = MailMessage.