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 2.500
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
20 This library should run on perls released even a long time ago. It
21 should work on any version of perl released in the last five years.
22
23 Although it may work on older versions of perl, no guarantee is made
24 that the minimum required version will not be increased. The version
25 may be increased for any reason, and there is no promise that patches
26 will be accepted to lower the minimum required perl.
27
28 First, they provide an "allow_partial_success" method which returns
29 true or false to indicate whether the transport will ever signal
30 partial success.
31
32 Second, they provide an "is_simple" method, which returns true if the
33 transport is suitable for use with Email::Sender::Simple. By default,
34 this method returns the inverse of "allow_partial_success".
35
36 It is imperative that these methods be accurate to prevent
37 Email::Sender::Simple users from sending partially successful
38 transmissions. Partial success is a complex case that almost all users
39 will wish to avoid at all times.
40
42 Ricardo Signes <rjbs@semiotic.systems>
43
45 This software is copyright (c) 2021 by Ricardo Signes.
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.34.0 2021-07-22 Email::Sender::Transport(3)