Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Sending sms through a Perl Script (http://www.velocityreviews.com/forums/t891918-sending-sms-through-a-perl-script.html)

Nikos 04-20-2005 01:45 PM

Sending sms through a Perl Script
 
If someone has made a perl script that somehow can send sms please post it!

cpans modules of sending sms aint working or they are outdated.

For exaple thia aint working:

#/usr/bin/perl -w
use WWW::SMS;

my $sms = WWW::SMS->new("36973814824", "This is a test!");

for ( $sms->gateways(sorted => 'reliability') ) #for every compatible
gateway
{
if ( $sms->send( $_ ) )
{ #try to send sms
last; #until it succeds
}
else
{
print $WWW::SMS::Error; #here is the error
}
}

Do you written one or know of one that actually works?


All times are GMT. The time now is 02:37 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.