Answered by:
new e-mail notification

Question
-
Hi,
is there a way to receive a callback to my application whenever a new incoming mail is received to the windows mobile (CE)'s inbox in outlook or other mail client application?
thanks, Ofer.
Sunday, July 9, 2006 9:13 AM
Answers
-
You can catch incoming SMS messages in WM2003
Monday, July 10, 2006 6:31 AM
All replies
-
In WIndows Mobile 5 it is possible using the classes in Microsoft.WindowsMobile.PocketOutlook namespace (PimItemCollection.ListChanged). This will work for all Pocket Outlook accounts but of course not for a 3rd party mail client. For WM2003 I recommend a 3rd-party library like the one offered by InTheHand
Monday, July 10, 2006 1:01 AM -
You can catch incoming SMS messages in WM2003
Monday, July 10, 2006 6:31 AM -
With all due respect, the PimItemCollection does not contain EmailMessage object, so the ListChanged can not catch the incoming mail.Friday, July 21, 2006 10:34 AM
-
Each folder's Items property is a PimItemCollection-derived class. You need to use Inbox's ListChanged eventFriday, July 21, 2006 6:24 PM
-
I am unable to find the Inbox class or similar one in MSDN's PocketOutlook namespace list: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/N_Microsoft_WindowsMobile_PocketOutlook.asp. Do I miss anything?
Now I am thinking about using the NEWMAIL_NOTIFICATION in the MAPI to catch new mail. Will post result later.
Tuesday, July 25, 2006 10:04 AM