We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Umlaut in mail body

I need to save the email body as PDF. There I noticed that umlauts like (ÄÖÜ) are not 
displayed correctly when I send the email with Outlook. When I use Gmail it is working
(see attachments).

I use this code:
MemoryStream bodyStream = new MemoryStream();

message.Save(bodyStream, Aspose.Email.Mail.SaveOptions.DefaultMhtml);

Aspose.Words.LoadOptions loadOptions = new Aspose.Words.LoadOptions();
loadOptions.LoadFormat = LoadFormat.Mhtml;
Aspose.Words.Document document = new Document(bodyStream, loadOptions);

MemoryStream bodyStreamPdf = new MemoryStream();
document.Save(bodyStreamPdf, new Aspose.Words.Saving.PdfSaveOptions());

Hi Ulrich,


Thank you for posting your query.

We have tested this issue with the latest version of Aspose.Email for .NET 5.8.0 and Aspose.Words for .NET 15.7.0 and could not observe the problem at our end. The saved PDFs shows the characters properly in the output. Please try it with the latest versions of the API and share your feedback with us.

I have upgrade Aspose.Email from version 5.5.0 to 5.8.0. This has solved my problem.

Hi Ulrich,


Thank you for sharing your feedback. Please feel free to write to us if you have any other query related to the API.