1Email::Sender::Failure(U3s)er Contributed Perl DocumentatEimoanil::Sender::Failure(3)
2
3
4
6 Email::Sender::Failure - a report of failure from an email sending
7 transport
8
10 version 2.600
11
13 This library should run on perls released even a long time ago. It
14 should work on any version of perl released in the last five years.
15
16 Although it may work on older versions of perl, no guarantee is made
17 that the minimum required version will not be increased. The version
18 may be increased for any reason, and there is no promise that patches
19 will be accepted to lower the minimum required perl.
20
22 message
23 This method returns the failure message, which should describe the
24 failure. Failures stringify to this message.
25
26 code
27 This returns the numeric code of the failure, if any. This is mostly
28 useful for network protocol transports like SMTP. This may be
29 undefined.
30
31 recipients
32 This returns a list of addresses to which the email could not be sent.
33
35 throw
36 This method can be used to instantiate and throw an
37 Email::Sender::Failure object at once.
38
39 Email::Sender::Failure->throw(\%arg);
40
41 Instead of a hashref of args, you can pass a single string argument
42 which will be used as the "message" of the new failure.
43
45 • Email::Sender::Permanent
46
47 • Email::Sender::Temporary
48
49 • Email::Sender::Multi
50
52 Ricardo Signes <cpan@semiotic.systems>
53
55 This software is copyright (c) 2022 by Ricardo Signes.
56
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59
60
61
62perl v5.36.0 2023-01-20 Email::Sender::Failure(3)