Email-Send
view release on metacpan or search on metacpan
lib/Email/Send.pm view on Meta::CPAN
my $sent = $self->_send_it($_, $simple);
return $sent if $sent;
}
return failure "Unable to send message.";
}
# Classic Interface.
sub import {
no strict 'refs';
*{(caller)[0] . '::send'} = __PACKAGE__->can('_send_function');
}
sub _send_function {
my ($mailer, $message, @args) = @_;
__PACKAGE__->new({
mailer => $mailer,
mailer_args => \@args,
})->send($message);
}
( run in 0.555 second using v1.01-cache-2.11-cpan-a3c8064c92c )