Peace::Email - The mail sender module for Peace.
my $mailer = Peace::Email->new;
$mailer->sendmail(
to => 'larry@perl,org',
text => 'hola',
html => '<b>hola</b>',
subject => 'Patch',
);
Peace::Email reads the Peace config to determine the credentials to send mail and does an abstraction around those.
Peace::Email implements the following instance methods:
my $mailer = Peace::Email->new;
Instances a new mailer.
Peace::Email implements the following methods:
$mailer->sendmail(
to => 'larry@perl,org',
text => 'hola',
html => '<b>hola</b>',
subject => 'Patch',
);
Sends a mail to the given mail address.