SMS::Handler::Email Perl module can process email related commands.
SYNOPSIS
use SMS::Handler::Email;
my $h = SMS::Handler::Email->new(-queue => $queue_obj,
-state => $ref_to_hash,
-secret => $my_secret_phrase,
-addr => '9.9.5551212',
-pop => 'pop.your.com',
-smtp => 'smtp.your.com',
-maxlen => 160,
-maxfetch => 1024,
-compact => 1,
-spamcheck => $obj,
-cmds => { ... },
-help => { ... },
-maxspam => 10,
);
$h->handle({ ... });
This module implements a simple responder class. It will respond to any message directed to the specified phone number, with the specified message.
The Email message is assumed to be in ISO-8859-1 (Latin1) encoding. Mappings are provided to convert the messages to a safe 7-Bit character set which is believed to be compatible with any SMS receiver. This mapping is lossy in the sense that accents and special characters are converted to a close but incorrect representation. For instance, an a with a tilde is converted to a plain a.
Product's homepage
Requirements:
· Perl