Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Apr 2008

    Problem In retriving the Number

    Hi All,

    This is the following code snippet I am using to get the number(BOLD LIne) using MTM.

    The problem is that when there is the contact associaled with the number the (bold line) gives
    just the Name present in the contact.And using this contact name when I programtically
    send the sms it just get stuck in the Outbox.

    So is there any way to get the number rather then the contact name.??

    CMsvEntry* serverEntry = iSession->GetEntryL( entries->At(0) );
    // Set entry context to the new message
    if ( serverEntry->Entry().iMtm != KUidMsgTypeSMS ||!serverEntry->Entry().Complete() )
    CMsvStore* store = serverEntry->ReadStoreL();
    TBuf<50> num(serverEntry->Entry().iDetails);

    Pllzzzzz some pointers.


  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Problem In retriving the Number

    You could try CSmsMessage/CSmsPDU::ToFromAddress or CSmsHeader::FromAddress.

Similar Threads

  1. Modules required :)
    By neil.young in forum Symbian
    Replies: 20
    Last Post: 2009-06-07, 11:35
  2. Problem MMC+USB Connection
    By Fede81 in forum Symbian
    Replies: 1
    Last Post: 2007-06-14, 06:13
  3. Replies: 2
    Last Post: 2007-04-20, 03:38
  4. Problem in getting the sequence number
    By ganesh_k in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-03-24, 09:26
  5. Serial Number Problem
    By koogy in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-09-17, 15:51

Posting Permissions

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