Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900