1Mail::Transport::Exim(3U)ser Contributed Perl DocumentatiMoanil::Transport::Exim(3)
2
3
4
6 Mail::Transport::Exim - transmit messages using external Exim program
7
9 Mail::Transport::Exim
10 is a Mail::Transport::Send
11 is a Mail::Transport
12 is a Mail::Reporter
13
15 my $sender = Mail::Transport::Exim->new(...);
16 $sender->send($message);
17
19 Implements mail transport using the external 'Exim' program. When
20 instantiated, the mailer will look for the binary in specific system
21 directories, and the first version found is taken.
22
23 Extends "DESCRIPTION" in Mail::Transport::Send.
24
26 Extends "METHODS" in Mail::Transport::Send.
27
28 Constructors
29 Extends "Constructors" in Mail::Transport::Send.
30
31 Mail::Transport::Exim->new(%options)
32 If you have Exim installed in a non-standard location, you will
33 need to specify the path, using new(proxy).
34
35 -Option --Defined in --Default
36 executable Mail::Transport undef
37 hostname Mail::Transport 'localhost'
38 interval Mail::Transport 30
39 log Mail::Reporter 'WARNINGS'
40 password Mail::Transport undef
41 port Mail::Transport undef
42 proxy Mail::Transport undef
43 retry Mail::Transport <false>
44 timeout Mail::Transport 120
45 trace Mail::Reporter 'WARNINGS'
46 username Mail::Transport undef
47 via Mail::Transport 'exim'
48
49 executable => FILENAME
50 hostname => HOSTNAME|ARRAY
51 interval => SECONDS
52 log => LEVEL
53 password => STRING
54 port => INTEGER
55 proxy => PATH
56 retry => NUMBER|undef
57 timeout => SECONDS
58 trace => LEVEL
59 username => STRING
60 via => CLASS|NAME
61
62 Sending mail
63 Extends "Sending mail" in Mail::Transport::Send.
64
65 $obj->destinations( $message, [$address|ARRAY] )
66 Inherited, see "Sending mail" in Mail::Transport::Send
67
68 $obj->putContent($message, $fh, %options)
69 Inherited, see "Sending mail" in Mail::Transport::Send
70
71 $obj->send($message, %options)
72 Inherited, see "Sending mail" in Mail::Transport::Send
73
74 $obj->trySend($message, %options)
75
76 Server connection
77 Extends "Server connection" in Mail::Transport::Send.
78
79 $obj->findBinary( $name, [@directories] )
80 Inherited, see "Server connection" in Mail::Transport
81
82 $obj->remoteHost()
83 Inherited, see "Server connection" in Mail::Transport
84
85 $obj->retry()
86 Inherited, see "Server connection" in Mail::Transport
87
88 Error handling
89 Extends "Error handling" in Mail::Transport::Send.
90
91 $obj->AUTOLOAD()
92 Inherited, see "Error handling" in Mail::Reporter
93
94 $obj->addReport($object)
95 Inherited, see "Error handling" in Mail::Reporter
96
97 $obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level,
98 $callback] )
99 Mail::Transport::Exim->defaultTrace( [$level]|[$loglevel,
100 $tracelevel]|[$level, $callback] )
101 Inherited, see "Error handling" in Mail::Reporter
102
103 $obj->errors()
104 Inherited, see "Error handling" in Mail::Reporter
105
106 $obj->log( [$level, [$strings]] )
107 Mail::Transport::Exim->log( [$level, [$strings]] )
108 Inherited, see "Error handling" in Mail::Reporter
109
110 $obj->logPriority($level)
111 Mail::Transport::Exim->logPriority($level)
112 Inherited, see "Error handling" in Mail::Reporter
113
114 $obj->logSettings()
115 Inherited, see "Error handling" in Mail::Reporter
116
117 $obj->notImplemented()
118 Inherited, see "Error handling" in Mail::Reporter
119
120 $obj->report( [$level] )
121 Inherited, see "Error handling" in Mail::Reporter
122
123 $obj->reportAll( [$level] )
124 Inherited, see "Error handling" in Mail::Reporter
125
126 $obj->trace( [$level] )
127 Inherited, see "Error handling" in Mail::Reporter
128
129 $obj->warnings()
130 Inherited, see "Error handling" in Mail::Reporter
131
132 Cleanup
133 Extends "Cleanup" in Mail::Transport::Send.
134
135 $obj->DESTROY()
136 Inherited, see "Cleanup" in Mail::Reporter
137
139 Error: Errors when closing Exim mailer $program: $!
140 The Exim mail transfer agent did start, but was not able to handle
141 the message correctly.
142
143 Warning: Message has no destination
144 It was not possible to figure-out where the message is intended to
145 go to.
146
147 Error: Package $package does not implement $method.
148 Fatal error: the specific package (or one of its superclasses) does
149 not implement this method where it should. This message means that
150 some other related classes do implement this method however the
151 class at hand does not. Probably you should investigate this and
152 probably inform the author of the package.
153
154 Warning: Resent group does not specify a destination
155 The message which is sent is the result of a bounce (for instance
156 created with Mail::Message::bounce()), and therefore starts with a
157 "Received" header field. With the "bounce", the new destination(s)
158 of the message are given, which should be included as "Resent-To",
159 "Resent-Cc", and "Resent-Bcc".
160
161 The "To", "Cc", and "Bcc" header information is only used if no
162 "Received" was found. That seems to be the best explanation of the
163 RFC.
164
165 As alternative, you may also specify the "to" option to some of the
166 senders (for instance Mail::Transport::SMTP::send(to) to overrule
167 any information found in the message itself about the destination.
168
170 This module is part of Mail-Transport distribution version 3.005, built
171 on July 22, 2020. Website: http://perl.overmeer.net/CPAN/
172
174 Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see
175 ChangeLog.
176
177 This program is free software; you can redistribute it and/or modify it
178 under the same terms as Perl itself. See http://dev.perl.org/licenses/
179
180
181
182perl v5.32.0 2020-07-31 Mail::Transport::Exim(3)