【问题标题】:href link to send text message?href链接发送短信?
【发布时间】:2017-10-12 07:29:59
【问题描述】:

是否有类似于<a href="tel:..."> 的短信链接。行为类似,但不是拨打号码而是提示用户发送短信?

【问题讨论】:

标签: html hyperlink html-email


【解决方案1】:

试试这个:

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

您可以使用 body 参数在文本中对消息进行排队。

【讨论】:

【解决方案2】:

短信链接的基本格式是

<a href="sms:...">

【讨论】:

    【解决方案3】:

    WhatsApp 提供了发送文本的选项。

    <a href="whatsapp://send?text=The text to share!" data-action="share/whatsapp/share">Share via Whatsapp</a>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-24
      • 1970-01-01
      • 1970-01-01
      • 2017-06-23
      • 1970-01-01
      • 2016-01-19
      相关资源
      最近更新 更多