Skip to end of metadata
Go to start of metadata

Aspose.Email - Save Email Message As PDF

The following code shows converting email message to PDF using Aspose.Email in combination with Aspose.Words for Java. This involves the following steps:

  1. Load the email message using MailMessage
  2. Save the email message to MemoryStream as MHTML
  3. Load the stream using Aspose.Words
  4. Save the message as PDF

Download Running Code

Download Sample Code

For more details, visit Saving A MSG as PDF.

  • No labels