Guest avowkind Posted May 12, 2003 Report Posted May 12, 2003 Having written an app to receive and process SMS messages I find that if Inbox is running it opens the sms for reading first and soaks up all incoming messages. No problem I'll use MAPI and get a notification when a new message arrives. I can open MAPI read the mail box find the SMS I am expecting and read the contents. (the message is actually in the subject line!) However currently I am having to poll the mailbox as the following calls don't seem to work - or I am not using them correctly. hr = m_pMsgStore->Advise( 0,NULL, fnevNewMail, MySink, &m_ulConnection); This should get me a callback when a new message arrives but I never seem to get called. hr = m_pInBoxFolder->GetContentsTable( 0, &pContentsTable); hr = pContentsTable->Restrict(&sRes, 0); this is trying to filter the mailbox so that only messages of type SMS are returned. If anyone has got these APIs working I would like a chat. Thanks Andrew Andrew Watkins Newland Software Ltd.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now