Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:CSendUi cannot resolve phone number when a name is specified in To field (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Created: User:Technical writer 1 (08 Feb 2007)
Last edited: hamishwillee (18 Jun 2012)


Trying to use CSendUi::CreateAndSendMessageL() to create and send an SMS with the 'To:' field filled in with a phone number works as expected. However, using a name instead of a phone number returns the error message 'Invalid Recipient Information' even if the name exists in the address book and has a phone number assigned to it.


SendUi does not provide a feature for automatic lookup of phone numbers or other contact information.

If the name of the receiver is known when launching the SMS editor, then it is possible to use the Contacts API to search for the phone number(s) assigned to the contact.

This page was last modified on 18 June 2012, at 06:15.
453 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.