Email::Sender::Transport::DevNull - happily throw away your mail


Email-Sender documentation Contained in the Email-Sender distribution.

Index


Code Index:

NAME

Top

Email::Sender::Transport::DevNull - happily throw away your mail

VERSION

Top

version 0.110001

DESCRIPTION

Top

This class implements Email::Sender::Transport. Any mail sent through a DevNull transport will be silently discarded.

AUTHOR

Top

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Email-Sender documentation Contained in the Email-Sender distribution.

package Email::Sender::Transport::DevNull;
BEGIN {
  $Email::Sender::Transport::DevNull::VERSION = '0.110001';
}
use Moose;
with 'Email::Sender::Transport';
# ABSTRACT: happily throw away your mail


sub send_email { return $_[0]->success }

__PACKAGE__->meta->make_immutable;
no Moose;
1;

__END__