| Email-Sender documentation | Contained in the Email-Sender distribution. |
Email::Sender::Transport::Wrapper - a mailer to wrap a mailer for mailing mail
version 0.110001
Email::Sender::Transport::Wrapper wraps a transport, provided as the
transport argument to the constructor. It is provided as a simple way to
use method modifiers to create wrapping classes.
Ricardo Signes <rjbs@cpan.org>
This software is copyright (c) 2011 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Email-Sender documentation | Contained in the Email-Sender distribution. |
package Email::Sender::Transport::Wrapper; BEGIN { $Email::Sender::Transport::Wrapper::VERSION = '0.110001'; } use Moose; with 'Email::Sender::Transport'; # ABSTRACT: a mailer to wrap a mailer for mailing mail has transport => ( is => 'ro', does => 'Email::Sender::Transport', required => 1, ); sub send_email { my $self = shift; $self->transport->send_email(@_); } __PACKAGE__->meta->make_immutable; no Moose; 1; __END__