logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Email::Sender::Transport - a role for email transports

Author

       Ricardo Signes <cpan@semiotic.systems>

Description

       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.

Name

       Email::Sender::Transport - a role for email transports

Perl Version

       This library should run on perls released even a long time ago.  It should work on any version of perl
       released in the last five years.

       Although it may work on older versions of perl, no guarantee is made that the minimum required version
       will not be increased.  The version may be increased for any reason, and there is no promise that patches
       will be accepted to lower the minimum required perl.

       First, they provide an "allow_partial_success" method which returns true or false to indicate whether the
       transport will ever signal 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".

       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.

Version

       version 2.601

See Also