Hi,
Hi,
// load the MSG file using Aspose.Email for .NET
MailMessage msg = MailMessage.Load(“RE Lotus Notes Files.msg”, MessageFormat.Msg);
//Instantiate an instance of MailPrinter
var printer = new Aspose.Email.Printing.MailPrinter();
//Set the MessageFormattingFlags to none to display only the message body
printer.FormattingFlags = Aspose.Email.Printing.MessageFormattingFlags.None;
//Print the email to an XPS file
printer.Print(message, “test.xps”, Aspose.Email.Printing.PrintFormat.XPS);