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

How to change message format while forwarding a mail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 25th 09, 09:45 AM posted to microsoft.public.outlook.program_vba
html to rft
external usenet poster
 
Posts: 1
Default 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.


Ads
  #2  
Old May 26th 09, 04:59 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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.



 




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
Script to change the Format to HTML when replying/forwarding mails Vampire Outlook and VBA 4 October 23rd 08 07:24 PM
Change Message Format - Does anyone know how to? xxexbushpig Outlook and VBA 3 May 2nd 08 08:33 AM
Help - How to Change Message Format? xxexbushpig Outlook and VBA 0 March 30th 08 11:30 PM
How do I set the default message format when forwarding? SueS Outlook - Calandaring 0 February 24th 06 05:32 PM
Shortcut to change message format Postman Outlook - General Queries 3 January 17th 06 09:56 PM


All times are GMT +1. The time now is 08:52 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-2025 Outlook Banter.
The comments are property of their posters.