Main > Programming > Libraries >

Net::SMS::Clickatell 0.05

Net::SMS::Clickatell 0.05

Sponsored Links

Net::SMS::Clickatell 0.05 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.004 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 890
Date added: 2007-05-24

Net::SMS::Clickatell 0.05 description

Net::SMS::Clickatell is Perl module access to Clickatell SMS messaging service.

SYNOPSIS

use Net::SMS::Clickatell;

my $catell = Net::SMS::Clickatell->new( API_ID => $api_id );
$catell->auth( USER => $user, PASSWD => $passwd );
$catell->sendmsg( TO => $mobile_phone, MSG => Hi, Im using Clickatell.pm );

Clickatell (http://www.clickatell.com) is a commercial service that allows its users to send SMS messages to anyone in the world. This service supports many ways to send messages, for example HTTP, SMTP and SMPP, among others.

Net::SMS::Clickatell provides OO methods that allow to send SMS messages through Clickatell service.

Note that whether this software nor the author are related to Clickatell in any way.

METHODS

new

Creates the Clickatell object.

Usage:

my $catell = Net::SMS::Clickatell->new( API_ID => $api_id );

The complete list of arguments is:

API_ID : Unique number received from Clickatell when an account is created.
UseSSL : Tell Clickatell module whether to use SSL or not (0 or 1).
BaseURL : Default URL used to connect with Clickatell service.
UserAgent : Name of the user agent you want to display to Clickatell service.
auth
Logs in Clickatell service,

Usage:

$catell->auth( USER => $user, PASSWD => $passwd );
where $user and $password are your credentials for Clickatell service.

This method returns 1 or 0 if we logged in or not .

sendmsg

Sends a message trought Clickatell service.

Usage:

$catell->sendmsg( TO => $mobile_phone, MSG => $msg );

where $mobile_phone is the mobile phone number that you wants to sends the message (international format, no leading zeros) and $msg is the messages text.

This method return 1 or 0 if we successfully sent the message or not.
session_id

Set or retrieve a session identificator number. This number is returned by Clickatell service when a user logs in successfully in the service.

Usage:

$catell->session_id(); # Retrieve session identificator number

or

$catell->session_id($sid); # Set session identificator number to $sid
msg_id

Set or retrieve a message identificator number. This number is returned by Clickatell service is a message was successfully sent.

Usage:

$catell->msg_id(); # Retrieve message identificator number

or

$catell->msg_id($mid); # Set message identificator number to $mid

error

Returns a code that describes the last error ocurred.

Example:

if(my $error = $catell->error) {
if($error == 1) {
die("Username or password not definedn");
} elseif ($error == 2) {
die("Username or password invalidn");
} else {
die("Unexpected faultn");
}
}

Complete list of error codes:

0 - No error
1 - Username or password not defined
2 - Username or password wrong
3 - Server has problems
4 - The message couldnt be sent

Net::SMS::Clickatell 0.05 Screenshot

Advertisements

Net::SMS::Clickatell 0.05 Keywords

Bookmark Net::SMS::Clickatell 0.05

Hyperlink code:
Link for forum:

Net::SMS::Clickatell 0.05 Copyright

WareSeeker periodically updates pricing and software information of Net::SMS::Clickatell 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Net::SMS::Clickatell 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Clickatell SMS API provides a tool for sending SMS messages using the Clickatell gateway. Free Download
btnSMS Library is a C library that provides an easy interface for sending SMS messages through the Beyond The Net SMS provider. Free Download
Websuite is a suite of simple CGI programs written in C. Free Download
qgreylistrbl is an add-on for qmail. Free Download
StateML is a State Machine Markup Language, with GraphViz and template-driven code generation. Free Download
NetCallback is a Java application permitting the export of TCP and UDP ports behind a firewall to hosts outside the firewall. Free Download
WebService::TicketAuth is a ticket-based authentication module for SOAP services. Free Download
RPC::pClient is a Perl extension for writing pRPC clients. Free Download