Email Notification for Outlook Express 6
-
Hi, I want to create one email notification application for outlook express 6. i used "MAPIFindNext()" function to get whether unread messages are present inbox. this function returns first unread messages id. but i need to find number of unread messages. Is there any function to find that? Thanks.
-
Hi, I want to create one email notification application for outlook express 6. i used "MAPIFindNext()" function to get whether unread messages are present inbox. this function returns first unread messages id. but i need to find number of unread messages. Is there any function to find that? Thanks.
I'm no great expert, having never used MAPI, but the following line from the documentation may be of help:
MSDN wrote:
The MAPIFindNext function allows a client application to enumerate messages of a given type. This function can be called repeatedly to list all messages in the folder.
This implies to me that you can just run the function repeatedly, and just count how often it succeeds - the you have your number! Good luck, Iain.
In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
-
I'm no great expert, having never used MAPI, but the following line from the documentation may be of help:
MSDN wrote:
The MAPIFindNext function allows a client application to enumerate messages of a given type. This function can be called repeatedly to list all messages in the folder.
This implies to me that you can just run the function repeatedly, and just count how often it succeeds - the you have your number! Good luck, Iain.
In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
Iain, Yes this function gives notification based on messagetype. i already tried this... But consider inbox have three 'x' type messages, call the MAPIFindNext function three time with x messagetype. it repeats the same message id and not give other message id. Reason is it's another functionality is, it will give first unread messageid of messagetype 'x'. am i correct? Thanks.