NAME
Email::Sender::Server::Worker - Email Processing Agent
VERSION
version 0.01_01
SYNOPSIS
# poll and process queued email messages
use Email::Sender::Server::Worker;
my $worker = Email::Sender::Server::Worker->new;
CHECK:
while (my $message = $worker->next_message) {
my $status = $worker->deliver_message($message);
# .. status is a Email::Sender::Success or Failure object
sleep 5;
}
sleep 5;
goto CHECK;
DESCRIPTION
Email::Sender::Server::Worker is the email processing agent which fetches messages from the Email::Sender::Server database and delivers them to their recipient(s).
This class uses the Validation::Class object system, please see that library for more information on any foreign methods mentioned herewith.
AUTHOR
Al Newkirk <awncorp@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by awncorp.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.