/    Sign up×
Community /Pin to ProfileBookmark

sending SMS from (Android) mobile using <a href

[This my first post on a forum, so I hope I’m not abusing any etiquette or people’s kindness.]

My objective is to send an SMS “receipt” from an Agent’s mobile (viewing our web page) instantly to the “payer” to acknowledge receipt of a (small) cash payment …. using the bundled SMS package wih the Agent’s phone contarct … not an external SMS service.

I’m hoping to do this from our website (which the Agent will be viewing at the time of transaction) rather than a dedicated App, if possible.

I have searched everywhere for a simple solution to this and successfully used the following as a prelimanry test

<p><a href=”sms:7777777777777?body=SMARTiPAY. £5 received, thank you. “>Send SMS welcome message to new member ></a></p>

.. but what I actually need now is a means of replacing both the “number” and “content” with variables generated from a form on the page …. input fields “mobilenum” and “message” (or other variables if spec needs to be different?)

Thank you

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@theyokerOct 31.2012 — Try the JavaScript forum. I don't believe you can achieve this through HTML. Does your:

[CODE]<p><a href="sms:7777777777777?body=SMARTiPAY. £5 received, thank you. ">Send SMS welcome message to new member ></a></p>[/CODE]

Actually send a SMS message to someone? Or am I missing something?

(I google'd it and you can to my surprise. But as you want to grab information from the webpage and use it javascript can do it easily).
Copy linkTweet thisAlerts:
@mike_a0524Nov 14.2012 — Hello all,

I am a software developer. I am working on an C#.NET application that makes it possible to send SMS from it through a gateway. I found a gateway on website of ozekisms, that seems to be working for as the engine. Here a C#.NET SMS demo project is provided with full source code. Do you have any suggestions to my project? Any useful idea?

Thanks and good work:

Mike
×

Success!

Help @clivesmith spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...