Login

The Perl SDK acts as a wrapper library that exposes a Form Post interface to enable developers to integrate SMS functionality into their applications. This provides easy, reliable communication over secure and non-secure services.

You can download the latest Perl SDK by clicking here.

Installing the SDK

The Perl SDK was developed using version 5.8.6 of ActivePerl and it is recommended you download and install the latest version before you use the SDK from Activestate.

The Esendex Perl SDK uses SSL via the LWP::UserAgent library. For a secure connection (which Esendex highly recommmends), this requires the installation of the Crypt::SSLeay module if it is not already installed in your Perl library.

Using the classes in your code

Once you have installed the Perl SDK into a directory accessible from your web application, you can send a message as follows:

use EsendexSendService;
my $message = new EsendexSendService($username, $password, $account );
my $response = $message -> sendMessage($recipient, $body );

Samples

You can find the complete SDK documentation and more examples on using each of the SDK classes, an example account event handler, and more information on the installation in the Perl SDK download which can be found in our Downloads section.

 

© Esendex Ltd 2008. Company registration number: 04217280

Esendex AustraliaAustraliaEsendex EspañaEspañaEsendex FranceFranceEsendex IrelandIrelandEsendex UKUK