A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Adding custom text to message



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 27th 07, 10:57 AM posted to microsoft.public.outlook.program_vba
MarinMarinov
external usenet poster
 
Posts: 1
Default Adding custom text to 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
  #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

  #3  
Old February 27th 07, 04:59 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Adding custom text to message

See if the information at http://www.outlookcode.com/d/formatmsg.htm helps.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding standard text to outgoing emails C3 Outlook Express 3 October 18th 06 07:39 PM
When Adding Text To The Body A Warning message is prompted MeMatthew Outlook - General Queries 2 August 31st 06 01:55 PM
Adding HTML text to the email body for each recipient Tom at GSD Add-ins for Outlook 2 July 7th 06 12:25 AM
Notes Field - Adding Default Text srm Outlook - Using Forms 4 June 20th 06 01:20 PM
Adding Superscript Text to a Distribution List Name Chatterbox Outlook - General Queries 1 May 17th 06 05:34 AM


All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.