Outlook Object Model

J

John Baits

Is there any place that documents the Outlook Object Model. I've
noticed a previous posting that expressed similar frustration that I
have been feeling trying to find it on Microsoft's site ;-)

I particular, I want to be able to detect the highlighted email item
(before it is opened) and obtain information about the email such as
SMTP headers, from, subject, etc...
 
S

Sue Mosher [MVP]

Outlook VBA Help has all the objects, properties and methods. When in doubt,
check the object browser: Press ALt+F11 to open the VBA environment in
Outlook, then press F2. Select anything in the browser and press F1 for more
details. Feel free to ask here about things you can't seem to find.

The items highlighted in a folder view comprise the
Application.ActiveExplorer.Selection collection.

SMTP headers are available only through CDO, not OOM. See
http://www.slipstick.com/dev/olforms/headers.htm for a sample form to
retrieve them.

Subject is Subject.
 

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

Top