Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed URL Link in SMS via PHP

Tags:

url

php

sms

att

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?!!?

like image 473
sadmicrowave Avatar asked Aug 17 '11 16:08

sadmicrowave


People also ask

Can I insert a URL hyperlink into an SMS message?

The short answer is, adding hyperlinks into SMS text messages isn't possible. Hyperlinks can only be used in emails and on your business website.

How hit SMS URL in PHP?

To send an SMS through PHP to Mr. Example, you could simply add [email protected] to any email client, type a message, and hit send. This will send a text message to phone number +1 (385) 555-0168 on the Verizon Wireless Network. For example, I'll send a text message to myself using Gmail.

Can SMS include links?

You can include links in your SMS messages. However, we do not recommend including URL shorteners (like bit.ly or tinyurl) in SMS messages sent to contacts in the U.S. as it may affect the deliverability of your messages and result in hard bounces.

Can you send HTML in SMS?

SMS does not support HTML.


3 Answers

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.

like image 76
Madara's Ghost Avatar answered Sep 19 '22 13:09

Madara's Ghost


SMS reader is NOT a webbrowser. Expecting a phone to render an SMS as a web page is pushing things.

Some phones have some smarts and will linkify URLs if they're spotted in there, but that's dependent on the phone.

like image 28
Marc B Avatar answered Sep 21 '22 13:09

Marc B


No, clickable links are dependent on the phone. Some phones will parse the SMS and make links "clickable", others won't.

like image 31
JJ. Avatar answered Sep 17 '22 13:09

JJ.