Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

href link to send text message?

Is there a link similar to <a href="tel:..."> for text messages. The behavior would be similar but instead of calling the number it would prompt the user to send a text?

like image 274
Stephen Selvey Avatar asked May 12 '17 21:05

Stephen Selvey


Video Answer


1 Answers

try using this:

 <a href="sms://+14035550185?body=I%27m%20interested%20in%20your%20product.%20Please%20contact%20me.">Send a SMS message</a>

You can use the body parameter to queue a message in the text.

like image 106
Tony Avatar answered Sep 19 '22 19:09

Tony