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

Free Support Forum - aspose.com

MHTFormatter gives dual headers

Hi,

i had the same prob and using your workaround i get duplicated messages. One in the origin language and one with the replaced Formatting.

best regards
ToYi


Result:

From: Test User
Sent: 13 Oct 2014 09:34:12 +0000
To: 'tuser@exampleaaaxxx.com'
Cc: 'tuser1@exampleaaaxxx.com'
Subject: Einfache Nachricht mit ä
Attachments: Penguins.jpg

Absender: "Test User"
Datum: 13 Oct 2014 09:34:12 +0000
An: "'tuser@exampleaaaxxx.com'"
Cc: "'tuser1@exampleaaaxxx.com'"
Betreff: Einfache Nachricht mit ä
Anhänge: Penguins.jpg

Hi Toyi,

Thank you for considering Aspose.Email.

Could you please share your sample message file with us and the complete sample code that you are executing at your end? Please try the MailMessageSaveOptions.None option while saving the MHT file to disc and let us know your feedback.

Hi Kashif,

thanks for your fast response.

I forgot to change MailMessageSaveType with MailMessageSaveOptions...now it works fine.

But i cant apply PDF-Attachments sent from Outlook (msg-Files) via converting to PDF. The mime-type are always "application/octet-stream" instead of "application/pdf".


best regards
ToYi

Hi ToYi,


Could you please provide us with a sample message file that exhibits this issue? We’ll look into it for assisting you further.