Click here to Skip to main content
Sign Up to vote bad
good
See more: HTMLMobile
Hi all,
I have a mobile website.
When trying to send SMS via an SMS URL on htc mobile, I receive an "Invalid Recipient" error
but it works fine on other tested mobiles
 
sms url example:
 
Send By SMS
Send By SMS
 
Please help as soon as possible.
Posted 29 Sep '12 - 13:10

Comments
Sandip.Nascar - 30 Sep '12 - 1:29
Are you posting the url through mobile browser? After you enter the url and go further, what is the url (specially the querystring values)? Paste the querystring values here. The url you posted under "Send by SMS" link seems to be incomplete
Ahmad Safwat - 30 Sep '12 - 6:50
Sorry, I've pasted the url in my original post but Codeproject has formatted url automatically here you are: <a href="sms:?body=TextText">Send By SMS</a> <a href="sms:+123456789?body=TextText">Send By SMS</a> The hyperlink is in my website page, when user clicks on the hyperlink, it open a new sms message with body of "TextText" for example. It works fine on other tested mobiles, but htc
Sandeep Mewara - 30 Sep '12 - 3:25
Did you talk to mobile website guys if there is any known issue with HTC mobile?
Sandip.Nascar - 12 Oct '12 - 8:44
You are getting invalid recipient, that means the issue is with the mobile number. My rough guess is the "+" sign. I think, in htc, + is encoded to somewhat different character before sending it to payment gateway. Check your service provider development guy, whether + is is a must. I have used several service provider and I see + is not mandatory. You can go with the isd code + mobile number. Something with the "+" character.
Ahmad Safwat - 12 Oct '12 - 10:42
Thank you very much for reply.. But I've tried without "+" and without mumber at all, but the problem still exist
Sandip.Nascar - 12 Oct '12 - 10:54
without number doesn't makes any sense. Put something like 9198XXXXXXXX instead of +91..... check your service provider developer reference
Ahmad Safwat - 15 Oct '12 - 18:28
I tried before with a test number, but also doesn't work But even if it works, the goal is to create a message without number :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 449
1 Arun Vasu 253
2 OriginalGriff 210
3 CPallini 163
4 Aarti Meswania 158
0 Sergey Alexandrovich Kryukov 10,129
1 OriginalGriff 7,749
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 2,999


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 29 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid