Email::Sender::Transport - a role for email transports
version 1.300012
Email::Sender::Transport is a Moo role to aid in writing classes used to send mail. For the most part, its behavior comes entirely from the role Email::Sender::Role::CommonSending, which it includes. The important difference is that Transports are often intended to be used by Email::Sender::Simple, and they provide two methods related to that purpose.
First, they provide an allow_partial_success method which returns true or false to indicate whether the transport will ever signal partial success.
allow_partial_success
Second, they provide an is_simple method, which returns true if the transport is suitable for use with Email::Sender::Simple. By default, this method returns the inverse of allow_partial_success.
is_simple
It is imperative that these methods be accurate to prevent Email::Sender::Simple users from sending partially successful transmissions. Partial success is a complex case that almost all users will wish to avoid at all times.
Ricardo Signes <rjbs@cpan.org>
This software is copyright (c) 2014 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.
To install Email::Sender, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Sender
CPAN shell
perl -MCPAN -e shell install Email::Sender
For more information on module installation, please visit the detailed CPAN module installation guide.