通过 PHP 在 SMS 中嵌入 URL 链接 [英] Embed URL Link in SMS via PHP
本文介绍了通过 PHP 在 SMS 中嵌入 URL 链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法可以在通过 [myphonenumber]@ 发送的 SMS 消息中嵌入 URL 链接,即 txt.att.net ?我的邮件配置设置为text/html",但链接在短信中显示为不可点击的纯文本...
Is there a way I can embed a URL link i.e. <a href='www.google.com'>google</a>
in an SMS message send through [myphonenumber]@txt.att.net ? My mail configuration is set to "text/html" but the link shows up as un-clickable plain text in the SMS...
有什么想法吗?!!!?
Any Ideas?!!?
推荐答案
大多数手机会自动链接 URL,但是无法按照您尝试的方式提供链接.只需发送 www.google.com,接收设备就会为您链接.
Most phones will automatically linkify URLs, however it is not possible to give links the way you are trying to do. Simply send www.google.com and the receiving device will link it for you.
这篇关于通过 PHP 在 SMS 中嵌入 URL 链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文