Sending Scheduled SMS and Bulk SMS using PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
codeworks
Forum Newbie
Posts: 2
Joined: Sun Feb 14, 2010 2:44 pm

Sending Scheduled SMS and Bulk SMS using PHP

Post by codeworks »

I'm workin on an web application using PHP that has an SMS module, and im having the following problems
1.How can i be send a scheduled SMS
2. how to handle bulk sendin of SMS

Please i need help on this problems
Thanks
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Sending Scheduled SMS and Bulk SMS using PHP

Post by Eran »

1. Use a cron (linux) or task scheduler (windows) to run a PHP script periodically
2. Call an SMS gateway from the script - http://www.google.co.il/search?q=sms+gateway
me!
Forum Contributor
Posts: 133
Joined: Sat Nov 04, 2006 8:45 pm

Re: Sending Scheduled SMS and Bulk SMS using PHP

Post by me! »

Define ""bulk" 10? 100? 100000? of messages at one time?

You can send an SMS the same as an email and use PHP mail() as the simplest option. If you are talking about a lot of messages you will need to control how it sends and your host may have something to say also.

To use the SMS Gateway addresses shown here enter the 10 digit mobile phone number for the person you are sending a message to in front of the appropriate address (i.e. 1234567890@carrier.com).

Note: SMS Gateways shown here are for U.S. carriers only (links for additional U.S. & International carriers at end of article).
Alltel Wireless mobile-number@message.Alltel.com (SMS & MMS)
mobile-number@text.wireless.alltel.com (SMS) mobile-number@mms.alltel.net (MMS)
AT&T Wireless mobile-number@txt.att.net (SMS)
mobile-number@mms.att.net (MMS)
AT&T Mobility (formerly Cingular) mobile-number@cingularme.com
mobile-number@mobile.mycingular.com
Boost Mobile mobile-number@myboostmobile.com
Cricket mobile-number@sms.mycricket.com (SMS)
mobile-number@mms.mycricket.com (MMS)
Metro PCS mobile-number@mymetropcs.com
Sprint (PCS) mobile-number@messaging.sprintpcs.com SMS)
mobile-number@pm.sprint.com (MMS)
Sprint (Nextel) mobile-number@page.nextel.com (SMS)
mobile-number@messaging.nextel.com (Rich Messaging)
Straight Talk mobile-number@VTEXT.COM (SMS)
mobile-number@mypixmessages.com (MMS)
T-Mobile mobile-number@tmomail.net (MMS)
U.S. Cellular mobile-number@email.uscc.net (SMS)
mobile-number@mms.uscc.net (MMS)
Verizon mobile-number@vtext.com (SMS)
mobile-number@vzwpix.com (MMS)
Virgin Mobile mobile-number@vmobl.com (SMS)
mobile-number@vmpix.com (MMS)
Post Reply