Results 1 to 5 of 5

Thread: [RESOLVED] Write RTF to outlook mailitem

Threaded View

  1. #1

    Thread Starter
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

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



Click Here to Expand Forum to Full Width