![]() |
How to change message format while forwarding a mail
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. |
How to change message format while forwarding a mail
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "html to rft" html to rft @discussions.microsoft.com wrote in message ... 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. |
All times are GMT +1. The time now is 05:04 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com