×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Question receiving e-mail SMS

    Hi,

    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:

    Code:
    iReadSocket.Open(iSocketServ, KSMSAddrFamily, KSockDatagram,
    	        KSMSDatagramProtocol);
    TSmsAddr smsAddr;
    smsAddr.SetSmsAddrFamily(ESmsAddrEmail);
    User::LeaveIfError(iReadSocket.Bind(smsAddr));
    iBuf() = KSockSelectRead;
    iReadSocket.Ioctl(KIOctlSelect, iStatus, &iBuf, KSOLSocket);
    SetActive();
    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.)

    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

    Thank you.

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Re: receiving e-mail SMS

    Hello,

    could someone from Symbian confirm opening a socket with the ESmsAddrEmail family doesn't work? And maybe suggest another approach?

    Thank you.

Similar Threads

  1. Receiving SMS by J2ME Midlet on 3410
    By mlamb in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-24, 13:13
  2. help urgent.....Showing a message on receiving an sms
    By Chinu in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2007-11-03, 04:05
  3. Receiving a WAP-PUSH SMS
    By coolste23 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-07-26, 01:05
  4. Sms Problem!!! Not Receiving
    By zmaster_d in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2007-07-18, 20:38
  5. Sending and Receiving SMS Series 60 C++
    By jpuopolo67 in forum Symbian Networking & Messaging (Closed)
    Replies: 29
    Last Post: 2006-12-12, 05:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •