View Single Post
  #2  
Old February 27th 07, 03:27 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Adding custom text to message

The Outlook object model provides no direct way to change the text in a rich-text message while preserving the formatting. See http://www.outlookcode.com/d/formatmsg.htm for indirect methods.

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

"MarinMarinov" wrote in message ...
Hello,
I want to add custom text inside mail body message.
But when the message is in Rich text format and i add text to message body,
formating disappear.
With HTML format & HTMLBody i have no problems then add somthing.
I try to add text as HTML in HTMLBody then the message is in Rich text
format but the message format changed to HTML & some text (for example
From:.... Sent:...) formating is changed.
Can anyone help me.
Thanks in advance

Ads