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

Free Support Forum - aspose.com

TNEF (winmail.dat) conversion


I am trying to use ASPOSE to pull out attachments from a winmail.dat file. From what I read on your site, I should just be able to load the message into a MailMessage object and it should automatically decode the winmail.dat file, however this doesn’t seem to be happening. Could you provide me some example code for how to do this?

Thanks so much for the help.


Could you attach your eml files to me. Basically, you only need to load the eml file by MailMessage class, then use the Attachments proeprty to get the decoded content.

MailMessage msg = MailMessage.Load(fileName);