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
24 Constructors
25
26 Mail::Transport::Exim->new(OPTIONS)
27
28 If you have Exim installed in a non-standard location, you will
29 need to specify the path, using new(proxy).
30
31 Option --Defined in --Default
32 executable Mail::Transport undef
33 hostname Mail::Transport 'localhost'
34 interval Mail::Transport 30
35 log Mail::Reporter 'WARNINGS'
36 password Mail::Transport undef
37 port Mail::Transport undef
38 proxy Mail::Transport undef
39 retry Mail::Transport <false>
40 timeout Mail::Transport 120
41 trace Mail::Reporter 'WARNINGS'
42 username Mail::Transport undef
43 via Mail::Transport 'exim'
44
45 . executable FILENAME
46
47 . hostname HOSTNAME⎪ARRAY-OF-HOSTNAMES
48
49 . interval SECONDS
50
51 . log LEVEL
52
53 . password STRING
54
55 . port INTEGER
56
57 . proxy PATH
58
59 . retry NUMBER⎪undef
60
61 . timeout SECONDS
62
63 . trace LEVEL
64
65 . username STRING
66
67 . via CLASS⎪NAME
68
69 Sending mail
70
71 $obj->destinations(MESSAGE, [ADDRESS⎪ARRAY-OF-ADDRESSES])
72
73 See "Sending mail" in Mail::Transport::Send
74
75 $obj->putContent(MESSAGE, FILEHANDLE, OPTIONS)
76
77 See "Sending mail" in Mail::Transport::Send
78
79 $obj->send(MESSAGE, OPTIONS)
80
81 See "Sending mail" in Mail::Transport::Send
82
83 $obj->trySend(MESSAGE, OPTIONS)
84
85 Server connection
86
87 $obj->findBinary(NAME [, DIRECTORIES])
88
89 See "Server connection" in Mail::Transport
90
91 $obj->remoteHost
92
93 See "Server connection" in Mail::Transport
94
95 $obj->retry
96
97 See "Server connection" in Mail::Transport
98
99 Error handling
100
101 $obj->AUTOLOAD
102
103 See "Error handling" in Mail::Reporter
104
105 $obj->addReport(OBJECT)
106
107 See "Error handling" in Mail::Reporter
108
109 $obj->defaultTrace([LEVEL]⎪[LOGLEVEL, TRACELEVEL]⎪[LEVEL, CALLBACK])
110
111 Mail::Transport::Exim->defaultTrace([LEVEL]⎪[LOGLEVEL,
112 TRACELEVEL]⎪[LEVEL, CALLBACK])
113
114 See "Error handling" in Mail::Reporter
115
116 $obj->errors
117
118 See "Error handling" in Mail::Reporter
119
120 $obj->log([LEVEL [,STRINGS]])
121
122 Mail::Transport::Exim->log([LEVEL [,STRINGS]])
123
124 See "Error handling" in Mail::Reporter
125
126 $obj->logPriority(LEVEL)
127
128 Mail::Transport::Exim->logPriority(LEVEL)
129
130 See "Error handling" in Mail::Reporter
131
132 $obj->logSettings
133
134 See "Error handling" in Mail::Reporter
135
136 $obj->notImplemented
137
138 See "Error handling" in Mail::Reporter
139
140 $obj->report([LEVEL])
141
142 See "Error handling" in Mail::Reporter
143
144 $obj->reportAll([LEVEL])
145
146 See "Error handling" in Mail::Reporter
147
148 $obj->trace([LEVEL])
149
150 See "Error handling" in Mail::Reporter
151
152 $obj->warnings
153
154 See "Error handling" in Mail::Reporter
155
156 Cleanup
157
158 $obj->DESTROY
159
160 See "Cleanup" in Mail::Reporter
161
162 $obj->inGlobalDestruction
163
164 See "Cleanup" in Mail::Reporter
165
167 Error: Errors when closing Exim mailer $program: $!
168
169 The Exim mail transfer agent did start, but was not able to handle the
170 message correctly.
171
172 Warning: Message has no destination
173
174 It was not possible to figure-out where the message is intended to go
175 to.
176
177 Error: Package $package does not implement $method.
178
179 Fatal error: the specific package (or one of its superclasses) does not
180 implement this method where it should. This message means that some
181 other related classes do implement this method however the class at
182 hand does not. Probably you should investigate this and probably
183 inform the author of the package.
184
185 Warning: Resent group does not specify a destination
186
187 The message which is sent is the result of a bounce (for instance cre‐
188 ated with Mail::Message::bounce()), and therefore starts with a
189 "Received" header field. With the "bounce", the new destination(s) of
190 the message are given, which should be included as "Resent-To",
191 "Resent-Cc", and "Resent-Bcc".
192
193 The "To", "Cc", and "Bcc" header information is only used if no
194 "Received" was found. That seems to be the best explanation of the
195 RFC.
196
197 As alternative, you may also specify the "to" option to some of the
198 senders (for instance Mail::Transport::SMTP::send(to) to overrule any
199 information found in the message itself about the destination.
200
202 This module is part of Mail-Box distribution version 2.070, built on
203 March 25, 2007. Website: http://perl.overmeer.net/mailbox/
204
206 Copyrights 2001-2007 by Mark Overmeer.For other contributors see
207 ChangeLog.
208
209 This program is free software; you can redistribute it and/or modify it
210 under the same terms as Perl itself. See
211 http://www.perl.com/perl/misc/Artistic.html
212
213
214
215perl v5.8.8 2007-03-25 Mail::Transport::Exim(3)