You must convert those characters to the proper HTML token, i.e. < and >. Use the Replace() function.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
Hi Sue,
I put my task body in a string
strbb = item.body
then I put all this in HTML Mail BODY
StrHTML = "<hr>"& StrHTML & "<hr>" & "<p><pre><font size=2 face=Arial>" &
strbb & "</Font></pre></p>" & Signature & disclaimer
You must convert those characters to the proper HTML token, i.e. < and
>. Use the Replace() function.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi All,
>
[quoted text clipped - 7 lines]
>
> Tks
Sue Mosher [MVP-Outlook] - 29 Nov 2006 11:52 GMT
Again, you need to work on strbb -- using Replace() to work on the < and > characters and also using it to replace vbCrLf with <br><br> so that you can preserve line breaks.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi Sue,
>
[quoted text clipped - 20 lines]
>>
>> Tks