Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

TNEF format for mails in exchange server

$
0
0
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

Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>