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 1.300034
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 Ricardo Signes <rjbs@cpan.org>
29
31 This software is copyright (c) 2019 by Ricardo Signes.
32
33 This is free software; you can redistribute it and/or modify it under
34 the same terms as the Perl 5 programming language system itself.
35
36
37
38perl v5.30.1 2020-01-E2m9ail::Sender::Transport::Failable(3)