On Jan 2, 1:18 pm, Ara <[email protected]> wrote:
> Ok, so I've searched all over here and I know you can set an HTML <a>
> to send an sms image like so:
>
> <a href="sms:123-555-1234">Text Me</a>
That will work with some agents. It would be more robust to use a
form and send the message with server side script.
>
> This works great, however I need to also put something in the body of
> the text message, I've tried all the syntax's below, but can't come up
> with anything, in each of the cases below the sms app just puts in all
> the text after 'sms:' into the "To:" field of the SMS app, not in the
> body.
Stabbing around in the dark rarely works in programming. Even if you
stumble upon a likely solution, it may only work by coincidence.
>
> <a href="sms:123-555-1234?text=text body">Text Me</a>
For one, learn HTML.
> <a href="sms:123-555-1234&text=text body">Text Me</a>
That goes double for this one.
> <a href="sms:123-555-1234?msg=text body">Text Me</a>
> <a href="sms:123-555-1234&msg=text body">Text Me</a>
Ditto and ditto.
> <a href="sms://123-555-1234&msg=text body">Text Me</a>
Rearranging characters until you get a "hit" on your test device of
choice is not a viable design strategy.
[snip]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---