PHP Classes

Email 2 SMS: Send SMS by e-mail to many carriers

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 3,794 This week: 1All time: 857 This week: 560Up
Version License PHP version Categories
email-2-sms 1.0GNU General Publi...4.0Email, Wireless and Mobile
Description 

Author

This class can be used to send SMS by e-mail to clients of many country carriers.

It can compose and send an e-mail message to an address of a carrier that delivers the SMS message to a client of a given mobile carrier.

The class can customize the SMS message to be sent for a variety of handsets including Symbian smart phones, Andriod phones and old handsets.

Currently it supports more than 95 carriers in 29 countries:

Alaska: General Communications
Argentina: Claro, Personal
Australia: T-Mobile/Optus Zoo
Austria: T-Mobile
Brazil: Vivo
Bulgaria: Mtel, Globul
Canada: Aliant, Bell Mobility, Fido, MTS Mobility, Rogers Wireless, Sasktel Mobility, Telus, Virgin Mobile
Crotia: T-Mobile, Tigo
Colombia: Comcel
France: Bouygues Telecom
Germany: T-Mobile, Vodafone, O2, E-Plus
Iceland: OgVodafone, Siminn
India: Andhra Pradesh Airtel, BPL Mobile Mumbai, Karnataka Airtel
Ireland: Meteor
Italy: TIM, Vodafone
Japan: AU by KDDI, NTT DoCoMo, Vodafone Chuugoku/Western, Vodafone Hokkaido, Vodafone Hokuriko/Central North, Vodafone Kansai/West, including Osaka, Vodafone Kanto/Koushin/East, including Tokyo, Vodafone Kyuu\
shu/Okinawa, Vodafone Shikoku, Vodafone Touhoku/Niigata/North, Vodafone Toukai/Central, Willcom, Willcom di, Willcom dj, Willcom dk
Mexico: Nextel
Mauritius: Emtel
Nepal: Mero Mobile
Netherlands: T-Mobile, Orange
Nicaragua: Claro
Singapore: M1
South Africa: Vodacom, MTN
Spain: Telefonica Movistar, Vodafone
Sri Lanka: Mobitel
Sweden: Tele2
Switzerland: Sunrise Communications
United States: 7-Eleven Speak Out Wireles, Alaska Communications Systems, Alltel, Ameritech, Appalachian Wireless, AT&T Mobility, ATT Wireless, Bluegrass Cellular, Bellsouth, Boost, Cellular One, Cellular South, Centen\
nial Wireless, Cincinnati Bell Wireless, Edge Wireless, Sprint PCS, Teleflip, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Telus Mobility, US Cellular, Verizon, Virgin Mobile
United Kingdom: O2 #1, O2 #2, Orange, T-Mobile, Virgin Mobile, Vodafone

Innovation Award
PHP Programming Innovation award nominee
October 2009
Number 3


Prize: One book of choice by Packt
Sending SMS messages usually requires paying a provider to do it. However, many carriers can receive SMS messages to their customers by e-mail.

This class provides comprehensive solution to send SMS messages for free to carriers in many countries.

Manuel Lemos
Picture of Utsav Handa
Name: Utsav Handa <contact>
Classes: 3 packages by
Country: India India
Age: 40
All time rank: 54434 in India India
Week rank: 411 Up26 in India India Up
Innovation award
Innovation award
Nominee: 1x

Recommendations

PHP form to send SMS to users
PHP form to send SMS to users

What is the best PHP email sms class?
Send SMS via email

Example

<?php

/** Sample Email2SMS Usage */

require_once('class-email2sms.php');

// Creating Object
$email2sms_obj = new Email2SMS('utsavhanda@hotmail.com', 'email2sms.db');

// Setting Country and carrier information
$email2sms_obj -> setProperty('email2smsCountry', 'India');
$email2sms_obj -> setProperty('email2smsCarrier', 'Andhra Pradesh Airtel');
$email2sms_obj -> setProperty('email2smsSubject', 'SMS');
$email2sms_obj -> setProperty('email2smsNumber' , '9810112345');

// Setting SMS text
$email2sms_obj -> setProperty('email2smsText' , "SMS text goes here");

// Voila, SMS sent!
$email2sms_obj -> prepareAndSendSMS();


// Getting errors
//echo $email2sms_obj -> getError();
//print_r($email2sms_obj -> getError('all'));

?>


Details

EMAIL2SMS README ------------------- class-email2sms.php package class-email2sms.php author Utsav Handa <handautsav at hotmail.com> copyright 2009 Utsav Handa license http://opensource.org/licenses/gpl-license.php version 1.0 A class to send FREE SMS via Email2SMS gateways to various supported mobile carriers across many countries. This class manages all the process for sending SMS via Email2SMS gateways through various mobile carriers. This class supports sending SMS on more than 95 network carriers in 29 countries. This class includes various customization elements for customizing the SMS to be sent for variety of handsets including symbian smartphone, andriods, and old handsets too. *[The SMS transmission to end user is purely dependable on network carriers Email2SMS gateways] Supported network carriers and countries ------------------------------------------- Alaska:: General Communications Argentina:: Claro, Personal Australia:: T-Mobile/Optus Zoo Autria:: T-Mobile Brasil:: Vivo Bulgaria:: Mtel, Globul Canada:: Aliant, Bell Mobility, Fido, MTS Mobility, Rogers Wireless, Sasktel Mobility, Telus, Virgin Mobile Crotia:: T-Mobile, Tigo Colombia:: Comcel France:: Bouygues Telecom Germany:: T-Mobile, Vodafone, O2, E-Plus Iceland:: OgVodafone, Siminn India:: Andhra Pradesh Airtel, BPL Mobile Mumbai, Karnataka Airtel Ireland:: Meteor Italy:: TIM, Vodafone Japan:: AU by KDDI, NTT DoCoMo, Vodafone Chuugoku/Western, Vodafone Hokkaido, Vodafone Hokuriko/Central North, Vodafone Kansai/West, including Osaka, Vodafone Kanto/Koushin/East, including Tokyo, Vodafone Kyuushu/Okinawa, Vodafone Shikoku, Vodafone Touhoku/Niigata/North, Vodafone Toukai/Central, Willcom, Willcom di, Willcom dj, Willcom dk Mexico:: Nextel Mauritius:: Emtel Nepal:: Mero Mobile Netherlands:: T-Mobile, Orange Nicaragua:: Claro Singapore:: M1 South Africa:: Vodacom, MTN Spain:: Telefonica Movistar, Vodafone Sri Lanka:: Mobitel Sweden:: Tele2 Switzerland:: Sunrise Communications USA:: 7-Eleven Speak Out Wireles, Alaska Communications Systems, Alltel, Ameritech, Appalachian Wireless, AT&T Mobility, ATT Wireless, Bluegrass Cellular, Bellsouth, Boost, Cellular One, Cellular South, Centennial Wireless, Cincinnati Bell Wireless, Edge Wireless, Sprint PCS, Teleflip, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Telus Mobility, US Cellular, Verizon, Virgin Mobile UK:: O2 #1, O2 #2, Orange, T-Mobile, Virgin Mobile, Vodafone Notes ------- * Activation Some networks require activation to allow this service. * Charges Most networks provide this service completely free, but some do not. It is advisable to check with your own provider to check this out before using the service heavily. In most cases the cost of the message is covered by standard texting plans (e.g. free texts). Note however that it is the receiver that will pay any associated charges - hence the reason for activation above. License --------- Copyright (c) 2009 Utsav Handa <handautsav at hotmail dot com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  Files folder image Files  
File Role Description
Accessible without login Plain text file README Doc. Email2SMS README
Accessible without login Plain text file example.php Example Example script showing usage
Accessible without login Plain text file email2sms.db Data Email2SMS Gateway information
Plain text file class-email2sms.php Class This library provides generic API for Email2SMS gateway service in an uniform way.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,794
This week:1
All time:857
This week:560Up
User Ratings User Comments (2)
 All time
Utility:58%StarStarStar
Consistency:83%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2379