|
-
Feb 7th, 2003, 03:35 AM
#1
[RESOLVED] Write RTF to outlook mailitem
I am writing a COM addin for outlook.
It basically adds a few lines of formatted text to outgoing mailitems (like a signature).
I am using the ItemSend event of the Outlook application object to trap send messages.
I have no problems with HTML mail, I just append some html to the HTMLBody property of the mailitem.
The problem I have is with RTF or Plain text mail.
When I append the text to the Body property for plain text messages, the mailtype changes to RTF (probably because there is an url and an e-mail address in the text I append).
When I append the text to the Body property for RTF messages, the formatting of the message is lost. I also don't know how to format the text I need to append (set font information).
I haven't started with messages in Word format, so I don't know if I encounter problems with these kind of messages.
Any information is welcome.
Last edited by Frans C; Feb 7th, 2003 at 10:25 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|