D
Dmitry Streblechenko
The whole point of retrieving the value of the Class property is to make
sure trhat you really have a MailItem object.
Try the following script in OutlookSpy: click Application button on the
OutlookSpy toolbar, go to the Script tab, paste teh script below. Now
whenever a new message arrives, OutlookSpy will open a new IDispatch browser
where you shoudl be able to see all the object properties.
sub Application_NewMailEx(EntryIDCollection)
set Msg = Application.Session.GetItemfromID(EntryIDCollection)
BrowseObject(Msg)
end sub
Dmitry Streblechenko (MVP)
sure trhat you really have a MailItem object.
Try the following script in OutlookSpy: click Application button on the
OutlookSpy toolbar, go to the Script tab, paste teh script below. Now
whenever a new message arrives, OutlookSpy will open a new IDispatch browser
where you shoudl be able to see all the object properties.
sub Application_NewMailEx(EntryIDCollection)
set Msg = Application.Session.GetItemfromID(EntryIDCollection)
BrowseObject(Msg)
end sub
Dmitry Streblechenko (MVP)