It doesn't matter if the item is new, a reply, a forward or whatever. If you
open it you get a NewInspector event, since all open Outlook items are
displayed in Inspectors.

Signature
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
> What if the mailitem is not new i.e it is read and presentin outlook
> explorer window.
ASAR - 19 May 2008 07:41 GMT
I tried it it is working but when ichanged the properties of militem like
subject ,body , attachment on this event and save it It doesnot appear while
mail item is opened. I am using following code
Private Sub tyINS_NewInspector(ByVal Inspector As
Microsoft.Office.Interop.Outlook.Inspector) Handles tyINS.NewInspector
Dim test As Object
test = Inspector.CurrentItem
test.Subject = "NEW SUBJECT"
test.Body = "NEW BODY APPENDED TO MAIL ITEM"
test.Save()
End Sub
> It doesn't matter if the item is new, a reply, a forward or whatever. If you
> open it you get a NewInspector event, since all open Outlook items are
> displayed in Inspectors.
>
> > What if the mailitem is not new i.e it is read and presentin outlook
> > explorer window.
Ken Slovak - [MVP - Outlook] - 19 May 2008 21:40 GMT
I told you already to use the first Activate() event for that Inspector to
do what you want.

Signature
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
>I tried it it is working but when ichanged the properties of militem like
> subject ,body , attachment on this event and save it It doesnot appear
[quoted text clipped - 10 lines]
> test.Save()
> End Sub