View Single Post
  #1  
Old June 21st 07, 10:27 AM posted to microsoft.public.outlook.program_forms
chrisl
external usenet poster
 
Posts: 4
Default Creating mailitem with reply/reply to all/forward buttons

Hi,

I have an application that reads a .msg file from disk and uses an Outlook
object to create the outlook instance and a mailitem using the
CreateItemFromTemplate method on the application object.

When I execute the Display(object modal) method on the mailitem the form
displays the mail message as a new item with the Send button.

As the .msg file is actually a saved mail from a received email in an
outlook folder I need it to recognise it as a mail that has to show the
Reply/Reply to All/Forwad buttons (as it does if I double click the file on
the disk).

I can't seem to find anywhere how I force the mailitem to natively
understand the mail is to be displayed in a response mode and not a new item
mode.

Any help is appreciated.
Ads