I'm trying to intercept e-mail SMS before they reach the inbox. The only way I've found is to use a socket. Here's what I'm doing:
By binding my socket to the ESmsAddrEmail family, I should only receive e-mail SMS, but I've observed I receive all types of messages (normal SMS, WAP Push messages, MMS headers etc.)
iReadSocket.Open(iSocketServ, KSMSAddrFamily, KSockDatagram,
iBuf() = KSockSelectRead;
iReadSocket.Ioctl(KIOctlSelect, iStatus, &iBuf, KSOLSocket);
Hints, anyone? Has anybody ever tested ESmsAddrEmail sockets? Does it really work?
Note: I have the S60 FP2 v1.1 SDK with the SMS Utilities plugin from the FP2 API plugin pack v1.2