Hi all;

I want to read messages from the SMS inbox on wm 5.0 and 2003. Itou Can
this be done?
Also how can I intercept an incoming SMS parse it for special words if I
find them I do some processing on it and give it to the inbox, if not I
just leave it to the SMS ( pocket outlook) application

Thanks a lot for your help really appreciate it
Mustafa Rabie

Re: reading SMS inbox C# by kkowalczyk

kkowalczyk
Sun Mar 12 21:12:01 CST 2006

Yes, it can be done.

One way to do it is to write a DLL that contains code that implements
IMailRuleClient COM interface and register this DLL with system.
IMailRuleClient::ProcessMessage() is being called for each SMS message
that comes in before it's being saved to inbox. In that handler you can
inspect the message and delete it if you don't want it to appear in
inbox.

For more information google for "IMailRuleClient" or check some of
those links:
* http://www.pcreview.co.uk/forums/thread-1305918.php
*
http://www.microsoft.com/downloads/details.aspx?FamilyId=98CCF3D4-DB7C-4A7D-A323-53BBDBBE0420&displaylang=en
*
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apisp/html/sp__mdref_imailruleclient.asp

Krzysztof Kowalczyk | http://blog.kowalczyk.info


Re: reading SMS inbox C# by Peter

Peter
Mon Mar 13 01:55:40 CST 2006

WM5.0 already supports this - see
Microsoft.WindowsMobile.PocketOutlook.MessageInterception namespace.
A third-party library (www.inthehand.com/WindowsMobile.aspx) provides the
same functionality for both WM2003 and WM5.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Mustafa Rabie" <mrabie007@hotmail.com> wrote in message
news:ug%231vHiRGHA.5552@TK2MSFTNGP14.phx.gbl...
> Hi all;
>
> I want to read messages from the SMS inbox on wm 5.0 and 2003. Itou Can
> this be done?
> Also how can I intercept an incoming SMS parse it for special words if I
> find them I do some processing on it and give it to the inbox, if not I
> just leave it to the SMS ( pocket outlook) application
>
> Thanks a lot for your help really appreciate it
> Mustafa Rabie
>