×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    15

    phone number of SMS-sender

    Hi, all 8)

    How can I programmatically get the phone number of a SMS-sender. For example, getting the body looks like that:

    CRichText& body = iMtm->Body();

    Where's number of sender?

    Great Thanks for helping 8))

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169
    chec k the message header, you can get it by using the SMS Mtm class instead of Base MTM.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Jan 2005
    Posts
    63
    Hi,

    i think u shud try for "iDetails" member variable of class "CMsvEntry", it gives the senders phone number. First u initialise the session for that.

    All the best

    Amit

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169
    the details, could also just contain the name of the sender, when you would need to use contacts DB functionalities to obtain the real number, whereas using the header you can obtain the real number directly.

    yucca

Posting Permissions

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