Notifications on SMS, Phone, and Email

  • Thread starter Thread starter Mpoy
  • Start date Start date
M

Mpoy

Hi guys!

It's been a while, I gave up on my own wrapper and purchased InTheHand
as well. It works great indeed. I just want to ask how can I notify or
make my application call a function or a method right after a call has
been done or an SMS has been sent or an Email has been sent?

Thanks!
 
There isn't a built in way to catch these events in managed code. But both
should be achievable with some P/Invoke or native code.
For phone events you would use TAPI and open a line with monitor privileges.
OpenNETCF have a telephony library in beta which probably has all the
functionality you need to do this.
For SMS and Email events you need to hook into the native CEMAPI APIs the
IMAPISession interface has an Advise method which allows you to register an
interface to handle mail store events, this would include messages moving
between folders (Outbox and Sent Items for example).

Peter
 
Back
Top