Click here to get back home

sending an SMS message

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
sending an SMS message Bernie Cosell 11-11-2005
Posted by Bernie Cosell on November 11, 2005, 8:15 pm
Please log in for more thread options


I'm pretty lost: I want to write a simple (???) program to send off an SMS
message.. no ring tones or embedded pictures... just an app that'll replace
our current 'alerter' [that sends off pages] and take a phone # and a
message and fire of that message to that cell phone.

I checked CPAN and was stunned to find >200 modules that have something to
do with SMS'ing. I was looking at NET-SMS and it looked simple enough
[something like an 8 line program to send a text message], but I'm utterly
befuddled by it all [and indeed, that's in no small part because I haven't
a *clue* how text messaging works at all, much less doing it over the
Internet instead of from a cell phone].

Has anyone managed to get something like this working and would be willing
to share some wisdom/info about what's going on? THANKS!!

/Bernie\

--
Bernie Cosell Fantasy Farm Fibers
bernie@fantasyfarm.com Pearisburg, VA
--> Too many people, too few sheep <--


Posted by Juha Laiho on November 12, 2005, 5:47 pm
Please log in for more thread options


>I'm pretty lost: I want to write a simple (???) program to send off an
>SMS message..

>[and indeed, that's in no small part because I haven't a *clue* how
>text messaging works at all, much less doing it over the Internet
>instead of from a cell phone].

I make an assumption on using GSM network technology. The core issue
is that you should get the message delivered to the SMSC (SMS Center)
of the desired operator (operator of the GSM subscription to which
you want to send the message). SMSes tend to cost some money apiece,
so there typically isn't any direct public internet interface through
which to send SMSes. Mobile operators typically offer (as a business
service) some kind of interface to the SMSC, charging at least by
month, and I think by message as well. If the target is to send just
a few SMSes per month, this rapidly becomes too expensive (especially
if there's more than one destination operator).

The easiest (and most economical) option in most cases should be to
hook up a mobile handset to the computer sending the messages, and
find out about the interface on the mobile to use to send off SMSes.
For fault-tolerance use two of these, hooked up to networks of two
independent operators.

Note though that there's no delivery guarantee for SMSes.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)


Posted by A. Sinan Unur on November 12, 2005, 7:18 pm
Please log in for more thread options


int:

>>I'm pretty lost: I want to write a simple (???) program to send off an
>>SMS message..
>
>>[and indeed, that's in no small part because I haven't a *clue* how
>>text messaging works at all, much less doing it over the Internet
>>instead of from a cell phone].
>
> I make an assumption on using GSM network technology. The core issue
> is that you should get the message delivered to the SMSC (SMS Center)
> of the desired operator (operator of the GSM subscription to which
> you want to send the message). SMSes tend to cost some money apiece,
> so there typically isn't any direct public internet interface through
> which to send SMSes.

My provider allows me to set up an email address for my cell phone.
Emails sent to that address come to my cellphone as SMS. I do not know
how prevelant this feature is, but it is something to look into.

Sinan

--
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html



Posted by Cosimo on December 14, 2005, 8:59 pm
Please log in for more thread options


Bernie Cosell wrote:

> I'm pretty lost: I want to write a simple (???) program to send off an SMS
> message.. no ring tones or embedded pictures...

For a simple application like that, you should connect
a gsm cell phone or gsm modem to your computer.

Then, using Device::Gsm module on CPAN, you can send
sms text messages with simple test scripts included in
the module distribution.

Installation requires (as documented):

* Device::Modem
* Device::SerialPort

Good luck!

--
Cosimo


Similar ThreadsPosted
Sending mails through perl April 11, 2006, 4:22 am
Sending mails through perl April 11, 2006, 5:43 am
Sending Email from Perl - PLEASE help April 25, 2006, 1:49 pm
Sending output to Spreadsheet January 3, 2007, 12:22 am
trouble sending XML payload in SOAP::Lite -> .NET January 11, 2006, 10:45 am
Sending "page up" and "page down" character problem. September 7, 2004, 1:59 pm
Net::FTP $ftp->message question July 21, 2005, 12:32 pm
what module is the windows message box in? September 23, 2004, 11:42 am
Cannot get timeout error message from Net::Cmd January 4, 2005, 4:45 pm
Mail::Message::TransferEnc February 2, 2005, 4:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap