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 1.300031
11
13 message
14 This method returns the failure message, which should describe the
15 failure. Failures stringify to this message.
16
17 code
18 This returns the numeric code of the failure, if any. This is mostly
19 useful for network protocol transports like SMTP. This may be
20 undefined.
21
22 recipients
23 This returns a list of addresses to which the email could not be sent.
24
26 throw
27 This method can be used to instantiate and throw an
28 Email::Sender::Failure object at once.
29
30 Email::Sender::Failure->throw(\%arg);
31
32 Instead of a hashref of args, you can pass a single string argument
33 which will be used as the "message" of the new failure.
34
36 · Email::Sender::Permanent
37
38 · Email::Sender::Temporary
39
40 · Email::Sender::Multi
41
43 Ricardo Signes <rjbs@cpan.org>
44
46 This software is copyright (c) 2017 by Ricardo Signes.
47
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50
51
52
53perl v5.30.0 2019-07-26 Email::Sender::Failure(3)