TNEF format for mails in exchange server
Hello Folks,

i have been trying to create a transport agent which change the Body format for internal mails which use the TNEF parts - Internal emails.

what i found that the body format changed from HTML to none when i created a TNEFwriter object as follow:



MimePart tnefPart = message.TnefPart;
TnefReader treader = new TnefReader(tnefPart.GetContentReadStream(), 0, TnefComplianceMode.Loose);
TnefWriter writer = new TnefWriter(tnefPart.GetContentWriteStream("Binary"), treader.AttachmentKey);


so what i am trying to do is to change body format to text, how i can accomplish this through TNEFwriters?

Thanks in advance,
Jamil Isayyed
May 5th, 2015 9:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics