Last post Jan 05, 2010 02:20 AM by mohitsapru
Nov 14, 2007 10:44 AMemail@example.com|LINK
i m using the following code but on incoming message received Event is not going to fire kindly help me in this regard, i m very thankful to you for this.
SmsMessage sms =
Nov 15, 2007 10:45 PM|Zhao Ji Ma - MSFT|LINK
Based on my understanding, you need to attach the event handler to the MessageReceived event:
void mi_MessageReceived(object sender, MessageInterceptorEventArgs e)
However this is actually Windows Forms issue not related to ASP.NET Mobile Forms. You can probably get better answer from .NET Compact Framework related forums on MSDN.
Nov 20, 2007 07:58 AM|varun.prakash|LINK
Hi the problem I am facing is that inspite of keeping the flag NotifyAndDelete, the SMS is not being deleted from the inbox of device.
Please look at the code snippet and suggest the way to overcome this problem.
//the interceptor event handler
sender, MessageInterceptorEventArgs e)
SmsMessage sms = (SmsMessage)e.Message;
loginReceived = smsReceived(sms.From.Address, sms.Body);
"Not an SMS" ,
MessageBoxIcon.None , MessageBoxDefaultButton.Button1);
Thanks and regards,
Varun Prakash Shrivastava
Nov 25, 2007 11:21 PM|Zhao Ji Ma - MSFT|LINK
The InterceptionAction.NotifyAndDelete is used to delete the notification itselft not to delete the message. In this way, no
other interceptor applications will be notified if there are multiple interceptors. If you need to delete the message, you need additional code to do the job.
Jan 05, 2010 02:20 AM|mohitsapru|LINK
this seems to be a very old post but i am going to try my luck reaching to u.
as per ur post u mean notifyanddelete option just deletes the notification? i have gone thru the link u provided but there it mentions that it will delete the notification and the message also.
as per the post notifyanddelete
"Notifies the interception application that an intercepted message has arrived. When this application has finished processing the message, Pocket Outlook deletes the original message.Note: Any other interception application that has not already intercepted
this message, will not."
so i was just wondring how it is possible?