Help!

How to change message format while forwarding a mail

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA RSS
Next:  outlook is not emailing assigned task  
Author Message
html to rft
External


Since: May 25, 2009
Posts: 1



PostPosted: Mon May 25, 2009 12:45 am    Post subject: How to change message format while forwarding a mail
Archived from groups: microsoft>public>outlook>program_vba (more info?)

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.
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Tue May 26, 2009 10:59 am    Post subject: Re: How to change message format while forwarding a mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
news:803245E6-0961-4DA5-9BE8-2B2B8EE3B2DF@microsoft.com...
>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.
>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum