Welcome to WebmasterWorld Guest from 54.144.1.142

Forum Moderators: bakedjake

Message Too Old, No Replies

sms notifications from website

sending sms-s anytime somebody fills the form and sends it

     
9:16 am on Oct 5, 2007 (gmt 0)

New User

10+ Year Member

joined:June 2, 2006
posts: 1
votes: 0


I have a site about local travel info, and I would like to add a new functionality to it. But I don't know where to start researching

The main idea is that anytime somebody is contacted via a form (email) from the site to recive a SMS.

What should I search for? mail2sms? sms-gateway? web2sms?

12:54 am on Oct 6, 2007 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14798
votes: 88


Welcome to WebmasterWorld excitedbunny Great nic!

You're on the right path. A search for "form to SMS" [google.com] has quite a few results. It's a pretty common function if the SERPs are any indication.

4:36 pm on Oct 8, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 8, 2007
posts: 81
votes: 0


Hi,

Have you figured it out? I think i can help you on this. I have the same running on my website.

Firstly take note that you will need to have access to an sms gateway, a third party.

The code is exactly the same as for sending normal email.

mail($to,$subject,$message);

The third party will give you instructions on how to send the sms.That means. In Zambia it would be like this

mail($to="260966993300@example.co.zm",$subject="",$message="You have mail");

Subject is blank because that does not apply to sms. As for the recipient number, it must usually begin with the country code(minus the zero).

You are going to have to call upon this when the visitor at your website submits the form, assuming all criteria have been met.

With other providers you have the liberty to preset your sender id.

Hope that helps.

Good Luck!

5:19 pm on Oct 29, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 22, 2005
posts:1163
votes: 6


Good discussion. Very helpful.
11:36 am on Oct 30, 2007 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38062
votes: 13


Also depending on your service, they might have an "Sms gateway" service that you can deliver sms's to their website and their site will bounce it back to your phone.