intercepting SMS with multiple boolean conditions?

D

droll

in C#, anyway i can specify multiple conditions for the interception?

MessageInterceptor has a single property called MessageCondition that can
only take a single condition. for example, i want Sender = "abc123", and
body to begin with "Hello there".

i know i can implement "Hello there" in my MessageReceived event handler but
if i use NotifyAndDelete as the interception method, and i don't find "Hello
there" in the SMS, the original SMS is then lost forever unless i recreate
it! also, there's no notification that appears at the top of the screen near
the clock so i have to post that back too.

any ideas?
 
D

droll

i guess the key to this is a MAPI mail rule client and the appropriate
values for MRCHANDLED being returned. so no managed code for this. not an
issue since the SDK has a simple mail rule client sample.

hmmmmm that begs another question: C++ calls to C#. i've seen the few
methods available. i'm inclined to do windows messages but this seems
asynchronous (??). is there a synchronous method for such calls?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top