1Email::Sender::TransporUts(e3r)Contributed Perl DocumentEamtaiioln::Sender::Transport(3)
2
3
4
6 Email::Sender::Transport - a role for email transports
7
9 version 1.300034
10
12 Email::Sender::Transport is a Moo role to aid in writing classes used
13 to send mail. For the most part, its behavior comes entirely from the
14 role Email::Sender::Role::CommonSending, which it includes. The
15 important difference is that Transports are often intended to be used
16 by Email::Sender::Simple, and they provide two methods related to that
17 purpose.
18
19 First, they provide an "allow_partial_success" method which returns
20 true or false to indicate whether the transport will ever signal
21 partial success.
22
23 Second, they provide an "is_simple" method, which returns true if the
24 transport is suitable for use with Email::Sender::Simple. By default,
25 this method returns the inverse of "allow_partial_success".
26
27 It is imperative that these methods be accurate to prevent
28 Email::Sender::Simple users from sending partially successful
29 transmissions. Partial success is a complex case that almost all users
30 will wish to avoid at all times.
31
33 Ricardo Signes <rjbs@cpan.org>
34
36 This software is copyright (c) 2019 by Ricardo Signes.
37
38 This is free software; you can redistribute it and/or modify it under
39 the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.30.1 2020-01-29 Email::Sender::Transport(3)