Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
SMS to your phone from your website
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- SMS to your phone from your website
SMS to your phone from your website
10-01-2008 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
After a litle bit of digging i have partially solved my own problem but i suspect others may appreciate this.
My website http://www.jnmbc.co.uk allows users to upload images. When they submit an image, I recieve an email notification so that i can examine the image and caption before posting it to the gallery.
The problem is that if I am away from my email it could be a couple of days before i realise an image upload request has been made so my solution is to send an SMS text alert to my mobile.
I spoke to my mobile network provider (t-mobile) and they implimented the Free of Charge service for me.
Phone your network supplier and ask them to set up the service for you. It may take an hour or two to become active, mine took ten minutes.
You can test this easily by sending an email to your own phone as an SMS
If you are on t-mobile then send an email to yourmobilenumber@t-mobile.uk.net
Although this method works directly from any email client, i am still testing it from within my website but a little bit unsure about headers etc.
this is the sendsms.php that processes it
Hope this helps the community.
My website http://www.jnmbc.co.uk allows users to upload images. When they submit an image, I recieve an email notification so that i can examine the image and caption before posting it to the gallery.
The problem is that if I am away from my email it could be a couple of days before i realise an image upload request has been made so my solution is to send an SMS text alert to my mobile.
I spoke to my mobile network provider (t-mobile) and they implimented the Free of Charge service for me.
Phone your network supplier and ask them to set up the service for you. It may take an hour or two to become active, mine took ten minutes.
You can test this easily by sending an email to your own phone as an SMS
If you are on t-mobile then send an email to yourmobilenumber@t-mobile.uk.net
Although this method works directly from any email client, i am still testing it from within my website but a little bit unsure about headers etc.
this is the sendsms.php that processes it
<?php
//If we are here then the image was uploaded to the holding area so send the SMS alert
$to = "0123456789@t-mobile.uk.net";
$subject = "Request to add image to gallery";
$message = "Login to admin area and check the picture";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'Reply-To: '.$eMail . "\r\n";
$headers .= 'From: '.$eMail;
if(mail($to,$subject,$message,$headers))
{
echo "<p><strong>Thankyou! SMS sent</strong></p>";
} else {
echo "<p><strong>SMS failed! Sorry, your sms could not be sent</strong></p>";
}
?>
Hope this helps the community.
Message 1 of 6
(2,104 Views)
5 REPLIES 5
Re: SMS to your phone from your website
10-01-2008 1:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My testing is now complete and i am happy to confirm that the above php script works perfectly well.
I went to my website, clicked on my test link that runs the sendsms.php and 15 minutes later i recieved a text alert on my mobile phone.
I hope this post is helpful to someone
I went to my website, clicked on my test link that runs the sendsms.php and 15 minutes later i recieved a text alert on my mobile phone.
I hope this post is helpful to someone
Message 2 of 6
(511 Views)
Re: SMS to your phone from your website
10-01-2008 11:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes indeed!
I'm sure there are many instances when this could be used.
I've changed my script now to be a simple function in my functions.php instead of a separate page so i just call it from anywhere in my site where i need to be notified of anything.
I keep the sms mesages simple, just something like "A user has uploaded an image" or "Someone has requested membership info" or "someone wants to add a link to their website"
I'm going to continue to develop this idea and see where i can take it.
I'm sure there are many instances when this could be used.
I've changed my script now to be a simple function in my functions.php instead of a separate page so i just call it from anywhere in my site where i need to be notified of anything.
I keep the sms mesages simple, just something like "A user has uploaded an image" or "Someone has requested membership info" or "someone wants to add a link to their website"
I'm going to continue to develop this idea and see where i can take it.
Message 3 of 6
(511 Views)
Re: SMS to your phone from your website
10-01-2008 11:31 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I hope it proves to be as easy for you as it was for me.
It was only made difficult because all my searches on the subject pointed to someone trying to sell me an sms service when all that was needed was one free phone call to t-mobile.
i cant guaruntee that other networks will do it FOC but they should do
It was only made difficult because all my searches on the subject pointed to someone trying to sell me an sms service when all that was needed was one free phone call to t-mobile.
i cant guaruntee that other networks will do it FOC but they should do

Message 4 of 6
(511 Views)
Re: SMS to your phone from your website
16-01-2008 10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If anyone knows whether Orange UK provides such a service, I would love to use it. I have looked but drawn a blank on their consumer and business websites.
Zen from May 17. PN Business account from 2004 - 2017
Message 5 of 6
(511 Views)
Re: SMS to your phone from your website
17-01-2008 7:54 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I didn't have any joy browsing the website of t-mobile when i was looking for my solution so thats why i phoned them.
I would add though that when i requested info on the subject, the guy i spoke to said it couldn't be done but i bluffed my way through by saying that other network providers did it so I'm sure that t-mobile would. At that he went away to ask his supervisor and returned to give me the 't-mobile.uk.net' bit that i needed.
The moral of this story? Dont be fobbed off
I would add though that when i requested info on the subject, the guy i spoke to said it couldn't be done but i bluffed my way through by saying that other network providers did it so I'm sure that t-mobile would. At that he went away to ask his supervisor and returned to give me the 't-mobile.uk.net' bit that i needed.
The moral of this story? Dont be fobbed off
Message 6 of 6
(511 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- SMS to your phone from your website