![]() |
| ||
| Send a text message to your phone from your site! A Brief History I like to call this my instant call back feature. Basically I knew that you can send a text message to your phone through email. So I said to myself, "self, why not send yourself the text message through a web form through some type of sendmail script!". So that is how I came up with this little script several years ago, it has been my little secret ever since. I use it on my Real Estate Web Site program, where I build web sites for real estate agents. Basically I label "Instant Call Back Feature", to imply that as soon as they enter the information, the real estate agent will call them instantly. The user fills out the form and then a text message is sent to the web site owners phone alerting them that they had a web site visitor that wants them to call them. I have only seen a handfull of people on the net think of it as well and implement their own variations, but today I decided to teach you! Examples of Potential Script Use! - instant call feature - alert web site owner of a sale - send personal messages - alert web site owner they are out of inventory How to send text messages to your phone via email ussually your email for text messaging is your phone number w/areacode (without spaces) @ your provider.com You will have to go to your providers web site and look it up. Here are some examples I know; 4075551212 {@} messaging.sprintpcs.com (sprint pcs) 4075551212 {@} tmomail.net (T mobile) 4075551212 {@} vtext.com (Verizon) The Tutorial We are going to make this as simple as possible. We are going to create 2 pages, these pages are sample.htm and sampleproc.cfm. There will be 3 sets of code snippets used, they are; - the formsample.htm here is the code to put in your sample.htm page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" Basically, we have the HTML code for the form as well as an easy javascript fro you to undertand to validate the form before submitting it to the next page. sampleproc.cfm This is where we will process the code. Put this in your sampleproc.cfm page. <CFMAIL To="phonenumber@cellphoneprovider.com" From="you@youremail.com" Subject="Web Alert" server="mail.yourmailserver.com"> Okay Thats it, have fun and remember to "think outside of the box". |
| ||
| Re: Send a text message to your phone from your site! Cool idea. I notice your phone number there is a US one, where you have the state/region code and then phone number. How would this work in other countries ? would we need to add the country code ( e.g. Uk = +44 so "44") followed by the mobile phone number ? Does the format follow the common UK practise of add country code and drop the leading 0 on the phone number ?... |
| ||
| Re: Send a text message to your phone from your site! These guidlines would be set by your cell phone (mobile) provider. It should work because it is just like an email address. All emails are unique and if your cell phone provider gave you a unique one, then it will not matter what country can send you a message. Send your self an email first before you upload this to your site. |
| ||
| Re: Send a text message to your phone from your site! Is there anyway that we can send messages to somebody else using this code. FOr example using my phone number in this code but to send the text message to somebody else phone number. |
| ||
| Re: Send a text message to your phone from your site! I've also modified the code from my cell phone provider's website. They usually have the form right on there to send a text message... grab the code from there and use your cell phone provider's already-in-place processing. |
| ||
| Re: Send a text message to your phone from your site! Quote:
|
| ||
| Re: Send a text message to your phone from your site! cool feature. but i'm problem implementing it, for the part "phonenumber@cellphoneprovider.com", what do i put down for "cellphoneprovider.com"? does it work for any phone provider in the world? |
| ||
| Re: Send a text message to your phone from your site! Quote:
|
| ||
| Re: Send a text message to your phone from your site! Does anyone know what it is for Cingular service? |
| ||
| Re: Send a text message to your phone from your site! hi der!!! its such a kewl idea to do sumthng like dat by coding.......i am not clear on how to use the code.....it wud be great if u cud elaborate stepwise on how to use the code.....thanx a lot....appreciate ur help... insatiable |
| All times are GMT -4. The time now is 11:53 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC