I know you can send an SMS to a mobile phone using the recipients # and carrier suffix. Is it possible to send SMS to a Google Voice # using the same method?
If so, what is used for a carrier suffix? (5552125689# ??? )
mail("5552125689#txt.att.net", "", "You have a new message", "test#mydomain.com");
Thanks
As far as I know, Google Voice does not support email to SMS.
You would most likely need to use an SMS gateway service like Twilio to be able to send to Google Voice.
Here's how to send an SMS with PHP and Twilio.
Related
create and import contacts and groups. send a single SMS, or send
bulk SMS to a group or multiple groups. connect to any SMS gateway
with minimal configuration. customize your SMS or email. add a link to your SMS
and email.
The message is composed using a web application that is stored and executed on a HTTP server and then sent through the internet ("the cloud") as an email message.
The email is received by a Short Message Service Gateway (SMS Gateway), which converts the message from an email message to a SMS message.
The SMS message is then handed to a Short Message Service Center (SMSC), which is a server that routes data to specific mobile devices.
The message is finally transmitted over the wireless network to the recipient.
Most wireless networks have a SMS gateway through which email messages can be sent as text messages to a mobile device. This is nice, because, from a developer's standpoint, it is generally free—however, it is of course not a free service for the end user. Fees still apply to the recipient of the message and messages sent via email will be billed as a non-network text message
we can use php mail() function to send sms but you have to purchase the SMPP frome network provider
you can use gateway like way2sms gateway for php send sms through php
easy use a sms getaway, we use https://developers.messagebird.com/docs/sms-messaging for a phone validation
I want to send sms from my website using php and html but I just found that to do this I need to pay a gateway and then add it to my website.
I want to use the credit of my android phone, do you know how to send sms using my credit?
I will give you a beer by paypal if you help me.
Forgot to say that php mail function doesn't works because in my country is not supported to send a SMS by email :(
You can try using Nexmo. you won't send sms using your phone credit but you'll use your account credit that you can top up with paypal and other methods and you will just have to call their restful API to send sms directly from one php code line (file_get_contents), no gateways...
I am tring to use Twilio SMS gateway to send SMS to clients.Twilio API works good for me but i got struk in setting sender id.
Is there any possibities to set the sender ID as text ie., our business name (ex., Mycompany - i need to receive sms with this name)?
Twilio evangelist here.
The short answer is that today we only allow you to use a Twilio phone number as the caller ID when sending text messages from Twilio. You can read more about setting the caller ID for outgoing SMS messages here.
Hope that helps.
I have created a free account in twilio for sending SMS through my website. After my registration I got a twilio number like XXX-XXX-XXXX. I am able to send message to mobile numbers but I don't know how to use this twilio number for receiving SMS. Please help me out on this.
Twilio evangelist here.
The way Twilio notifies you of both incoming SMS message and incoming voice phone calls is by using something called a webhook. This is basically an HTTP request that Twilio makes to a URL that you tell us about. Normally this URL is a web app that you've created and published to a public website.
http://en.wikipedia.org/wiki/Webhook
In your Twilio dashboard, click on the Numbers tab and you will see your trial number.
https://www.twilio.com/user/account/phone-numbers/incoming
Click the phone number and you will see two input fields, one for a Voice URL and one for a SMS url. Just put your URL's there and click the save button.
Now if you send a text message to your number, Twilio will make an HTTP request to the URL you've told us about. You can think of this like a standard Form submit. Twilio will send along parameters like the number the SMS is coming from and the body of the message. The full list of parameters we send to the SMS url is here:
https://www.twilio.com/docs/api/twiml/sms/twilio_request
Your app can grab those parameters and use them however it wants. Your app can also return TwiML instructions to us that tell us to respond to the SMS.
https://www.twilio.com/docs/api/twiml/sms/your_response
You might want to check out our quickstarts for examples of how to receive a text message and and howtos for lots more examples of both sending and receiving SMS messages.
https://www.twilio.com/docs/quickstart/php/sms/hello-monkey
https://www.twilio.com/docs/howto
Hope that helps.
Devin
Does anyone know how can i send a sms messsage when e-mails are arriving in a gmail account?
I know some PHP, C/C++ and C#, and I plan to read the new message using POP3. The problem is that I don't know how can I send a SMS message to a mobile phone. Do I need a SMS server?
can you give me some advices?
you need to register with and buy credit at some bulk SMS gateway with API. personally, i would recommend: http://www.clickatell.com/
which allows to send SMS via email, HTTP/GET/POST, REST, XML etc.
Many cell carriers have the ability to send SMS messages to an email address (ie yourphonenumber#telus.com). If you're sending to a specific mobile phone (for keeping an eye on your website, say), this would be something to look into, because it's free and simple. For the general case of sending an SMS to any mobile phone, that's somewhat more complicated. You can either hook into an SMS gateway (such as clickatell, as dusoft mentions), or you can attach a GSM modem to your PC and send commands through it.