markl1988 Posted May 4, 2009 Share Posted May 4, 2009 does anyone know if it is possible to send an sms text using php thanks Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/ Share on other sites More sharing options...
premiso Posted May 4, 2009 Share Posted May 4, 2009 Yep, using the mail function. You have to know the 10 digit phone number and know what carrier to format the domain portion of the email. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826132 Share on other sites More sharing options...
ohdang888 Posted May 4, 2009 Share Posted May 4, 2009 it can't be done with ONLY php. You can use php to interact with an API from a company that does this kind of stuff (like http://eztexting.com/), but other than that, nope. There might be some free API's but i wouldn't use them, as they most likely spam the number too. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826135 Share on other sites More sharing options...
ohdang888 Posted May 4, 2009 Share Posted May 4, 2009 Yep, using the mail function. You have to know the 10 digit phone number and know what carrier to format the domain portion of the email. seriously? WOW i did not know that. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826136 Share on other sites More sharing options...
the182guy Posted May 4, 2009 Share Posted May 4, 2009 You can also pay for access to a SOAP web service to send an SMS. Which you can call from PHP. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826139 Share on other sites More sharing options...
premiso Posted May 4, 2009 Share Posted May 4, 2009 it can't be done with ONLY php. You can use php to interact with an API from a company that does this kind of stuff (like http://eztexting.com/), but other than that, nope. There might be some free API's but i wouldn't use them, as they most likely spam the number too. You may want to look up how a text is actually sent. You can find a list of the carriers and what the address is like for att it is [10 digit number]@txt.att.net you can find this list on the internet by googling. Now, if you want to interact with text's, say have something that receives a text then charge a person for a service like Joke of the day, that is something different. But to simply send a text, you can do that with email. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826143 Share on other sites More sharing options...
ohdang888 Posted May 4, 2009 Share Posted May 4, 2009 it can't be done with ONLY php. You can use php to interact with an API from a company that does this kind of stuff (like http://eztexting.com/), but other than that, nope. There might be some free API's but i wouldn't use them, as they most likely spam the number too. You may want to look up how a text is actually sent. You can find a list of the carriers and what the address is like for att it is [10 digit number]@txt.att.net you can find this list on the internet by googling. Now, if you want to interact with text's, say have something that receives a text then charge a person for a service like Joke of the day, that is something different. But to simply send a text, you can do that with email. that seems pretty useful. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826148 Share on other sites More sharing options...
premiso Posted May 4, 2009 Share Posted May 4, 2009 that seems pretty useful. It is, I used to have a pay site for Verizon and ATT (when texting first started out) where a user could get an MP3 Ringtone from my site sent to their phone for $1 a ringtone. It worked out well with the texting and getting the email headers right. But once texting got really big I could not keep up with it (all the different carriers some allowed ringtones others did not) etc. So I stopped it. Quote Link to comment https://forums.phpfreaks.com/topic/156838-php-texting/#findComment-826152 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.