How to get Email notification..?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

On windows mobile 5.0.
Like using 'PocketOutlook.MessageInterceptor' class we can get the
notification of new SMS messages, How to get a notification of new email in
my application ?

Alternatively I tried and get notification for UnreadTotalEmails changed
event using SystemState class, but I am not able to enumerate or access the
emails from the email accounts.
Is there any way to get new email notification or any way to read individual
email and sms messages (like I can do for contacts and apointments) ?

Any direction will be of great help.

Thanks
Jaikant Shukla
(e-mail address removed)
 
For email, you can do this in a more basic way by creating a socket on port
110 then using your email account's pop server's IP address, your username
and password and the correct POP3 commands, find out the list of messages on
the mail server. Additionally, you can read those messages. I have done
this on the Pocket PC. I assume it would also work on Windows Mobile.
 
You can, if you are willing to write a little bit of C++ coding using
CEMAPI. You can implement IMAPIAdviseSink that listens to any events
occurred to a mail store. I read it is possible to listen to mail event
across process in 5.0 platform.
 
Back
Top