Last active
May 28, 2021 05:17
-
-
Save GroupDocsGists/43c2651a5028f1b20d354f5ee4c12647 to your computer and use it in GitHub Desktop.
Convert MSG and EML to PDF in C# | Email Messages to PDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convert EML message to PDF in C# | |
using (Converter converter = new Converter("emailMessage.eml")) | |
{ | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.Convert("eml-Message.pdf", options); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convert MSG message to PDF in C# | |
using (Converter converter = new Converter("emailMessage.msg")) | |
{ | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.Convert("msg-Message.pdf", options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment