×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    11

    Question Not able to retrieve FROM address of SMS

    Hi,
    I am trying to retrive the details of SMS present in Inbox. i am able to retrieve all the details except for FROM Address. Here is the code snippet that i have tried to retrieve the from address.
    I always get a descriptor with zero length as the result.

    CSmsClientMtm* iSmsMtm;
    TMsvId entryId;
    iSmsMtm->SwitchCurrentEntryL(entryId);
    CSmsHeader& header = iSmsMtm->SmsHeader();
    TPtrC from = header.FromAddress();

    Please help me out.
    Thanks in advance.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Smile Re: Not able to retrieve FROM address of SMS

    Quote Originally Posted by nms_pnr View Post
    Hi,
    I am trying to retrive the details of SMS present in Inbox. i am able to retrieve all the details except for FROM Address. Here is the code snippet that i have tried to retrieve the from address.
    I always get a descriptor with zero length as the result.

    CSmsClientMtm* iSmsMtm;
    TMsvId entryId;
    iSmsMtm->SwitchCurrentEntryL(entryId);
    CSmsHeader& header = iSmsMtm->SmsHeader();
    TPtrC from = header.FromAddress();

    Please help me out.
    Thanks in advance.
    Here are two Wiki pages for you:

    * Reading SMS from Inbox
    * SMS Operations

    Kiran.

Similar Threads

  1. How to retrieve SMS using VB?
    By bear2hong in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2009-09-14, 03:26
  2. Extracting details (web address) from sms
    By anpavisi in forum General Messaging
    Replies: 3
    Last Post: 2007-11-09, 06:26
  3. Sms Receving problem
    By cdoewarrior in forum General Messaging
    Replies: 5
    Last Post: 2007-03-03, 15:47
  4. AT command using VB to retrieve SMS from modem
    By whampoa in forum General Messaging
    Replies: 4
    Last Post: 2007-02-09, 12:04
  5. Replies: 1
    Last Post: 2003-07-17, 01:21

Posting Permissions

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