Message and Message Read Confirmatiom

  • Thread starter Thread starter Martin Los
  • Start date Start date
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
 
You could look at MessageClass. That would be "IPM.Note" for normal email
messages.
 
Thanks Ken for this tip!

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

TIA

Martin
 
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.
 
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
 
Back
Top