Transport Agent Text To HTML Conversion Problem

I have been building a transport agent that works fine except when I have to convert a plain text email to html. I have been looking for samples on how to use the textconverters and texttohtml. However, I'm not sure what they really are supposed to do. If I use it to convert the body it will convert what was plain text to html as in the example below...but it never converts the actual body type to html so it's still a plain text email with a body that has html text in it. Therefore, when read...it doesn't display properly. Are the converters supposed to change the mail body type also? Can you change the mail body type?

<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin- padding- border- } --></style></head>
<body>
<font size="2"><span style="font-size:10pt;"><div class="PlainText">Hello<br>
</div></span></font>
</body>
</html>

November 1st, 2013 9:49am

Hello, do you  find answer?
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 6:36am

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

Other recent topics Other recent topics