TNEF (winmail.dat) conversion

Hi,

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.
Seth

Hello,

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);

msg.Attachments[i].Save(attach);

Thanks