Message and Message Read Confirmatiom

M

Martin Los

In Inbox Outlook 2002 I have received messages and read
messages confirmation flags.

I want to count the number of messages in the inbox,
exluding the confirmation messages.

How do I distinct between the proper messages in the Inbox
and the confirmation messages?

I thought of TypeName, but I believe both objects have the
same TypeName, (ie. Dim objMailItem As Object, both have
TypeName(objMailItem)="MailItem").

Any help apreciated!

Martin
 
K

Ken Slovak - [MVP - Outlook]

You could look at MessageClass. That would be "IPM.Note" for normal email
messages.
 
M

Martin Los

Thanks Ken for this tip!

Would you happen to know what the MessageClass of
confirmation messages would be, instead of "IPM.Note"?

TIA

Martin
 
K

Ken Slovak - [MVP - Outlook]

Offhand no, but just display the message classes of the items in that folder
to see what it is. Right-click on the column headers in a table view and
select Field Chooser. Select in the dropdown to display All Mail fields and
drag the MessageClass field to the column headers where you want it
displayed.
 
M

Martin Los

Ken, This is just what I needed. Now I can program with
more detail knowing the MessageClasses.

Thanks a 1.000.000 for this great tip!

Martin
 

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