Esendex Perl SMS SDK

The Esendex Perl SMS SDK acts as a wrapper library that exposes a FormPost 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 Esendex Perl SMS 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 SDK uses SSL via the LWP::UserAgent library. For a secure connection (which Esendex highly recommends), 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 FormPost 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 FormPost SDK download which can be found in our Downloads section.