olmailitem constant value is 0.
In Microsoft Outlook, There can be 8 kinds of items as mentioned below.
olAppointmentItem - 1 - New Appointment
olContactItem - 2 - New Contact
olDistributionListItem - 7 - New DL
olJournalItem 4 - New Journal
olMailItem 0 - New Mail
olNoteItem 5 - Note
olPostItem 6 - Post
olTaskItem 3 - Task.
All these are constants defined in Microsoft outlook library.
No comments:
Post a Comment