App::FonBot::Plugin::Email - FonBot plugin for receiving commands and sending messages through emails
use App::FonBot::Plugin::Email; App::FonBot::Plugin::Email->init; ... App::FonBot::Plugin::Email->fini;
This FonBot plugin provides email receiving/sending features to fonbotd. Emails are read from Maildir/ and are sent through sendmail.
Maildir/
sendmail
These are the App::FonBot::Plugin::Config configuration variables used in this module
$batch_delay_seconds
When receiving an email send request, App::FonBot::Plugin::Email waits this many seconds for further email send requests to the same email address. The timer is reset for each email send request. When the timer expires, all pending send requests are batched and sent as one email.
App::FonBot::Plugin::Email
$email_from
From: header of all emails sent by this plugin.
From:
$email_subject
Subject: header of all emails sent by this plugin.
Subject:
Marius Gavrilescu marius@ieval.ro
marius@ieval.ro
Copyright 2013 Marius Gavrilescu
This file is part of fonbotd.
fonbotd is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
fonbotd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with fonbotd. If not, see <http://www.gnu.org/licenses/>
To install App::FonBot::Daemon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::FonBot::Daemon
CPAN shell
perl -MCPAN -e shell install App::FonBot::Daemon
For more information on module installation, please visit the detailed CPAN module installation guide.