newinspector is mailitem?

  • Thread starter Thread starter Peter Ramsebner
  • Start date Start date
P

Peter Ramsebner

Hi all,

how can i determine the type of in inspector object?
In a NewInspector eventhandler i only need MailItems.

Thanks for help

Peter
 
Hi Peter,

e.g.:
if typeof inspector.currentitem is outlook.mailitem then
...
endif

or:
if inspector.currentitem.class=olMail then
...
endif
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top