how do i use my gmail account to send an sms in my php applicaiton

Recommended Answers

All 2 Replies

You can use the php mail command to send an SMS message. The email address needs to be formatted however the telecom company requires it. The general format is the phone number followed by the telecom company site name. There is no need to use Gmail if you already have access to an email server. If you really want to do it through GMail, then you can probably connect with GMail through SMTP but that is a more complicated way to do it. There is lots of info that you can find through a search on Daniweb or the Internet. One example is this one.

SMS messages can be sent for free (for the sender) in North America but that may not be true where you are.

Its good idea,
But in India we can't send sms this way. :(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.