How to change message format while forwarding a mail

H

html to rft

I have managed a migration from Lotus Notes to Exchange 2007 sp1.
After migration all mails are in HTML format. But i need to convert message
body type to RTF automatically before forward an old mail.
 
K

Ken Slovak - [MVP - Outlook]

You can handle the item when it's opened or when it's forwarded and then
change the format of the item. You would use the MailItem.BodyFormat
property and set that property to olformatRichText.

You would either handle the Inspectors.NewInspector() event to trap items
opening, or you can handle the Explorer.Selection collection and the
Explorer.SelectionChange() event to grab all selected items and then set up
Forward() event handlers on each selected item.

You can find code samples for that sort of thing at www.outlookcode.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top