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