1Email::Sender::TransporUts:e:rFaCiolnatbrlieb(u3t)ed PerElmaDiolc:u:mSeenntdaetri:o:nTransport::Failable(3)
2
3
4
6 Email::Sender::Transport::Failable - a wrapper to makes things fail
7 predictably
8
10 version 2.500
11
13 This transport extends Email::Sender::Transport::Wrapper, meaning that
14 it must be created with a "transport" attribute of another
15 Email::Sender::Transport. It will proxy all email sending to that
16 transport, but only after first deciding if it should fail.
17
18 It does this by calling each coderef in its "failure_conditions"
19 attribute, which must be an arrayref of code references. Each coderef
20 will be called and will be passed the Failable transport, the
21 Email::Abstract object, the envelope, and a reference to an array
22 containing the rest of the arguments to "send".
23
24 If any coderef returns a true value, the value will be used to signal
25 failure.
26
28 This library should run on perls released even a long time ago. It
29 should work on any version of perl released in the last five years.
30
31 Although it may work on older versions of perl, no guarantee is made
32 that the minimum required version will not be increased. The version
33 may be increased for any reason, and there is no promise that patches
34 will be accepted to lower the minimum required perl.
35
37 Ricardo Signes <rjbs@semiotic.systems>
38
40 This software is copyright (c) 2021 by Ricardo Signes.
41
42 This is free software; you can redistribute it and/or modify it under
43 the same terms as the Perl 5 programming language system itself.
44
45
46
47perl v5.34.0 2022-01-E2m1ail::Sender::Transport::Failable(3)