NAME
Mail::Transport::Exim - transmit messages using external Exim program
CLASS INHERITANCE
Mail::Transport::Exim
is a Mail::Transport::Send
is a Mail::Transport
is a Mail::Reporter
SYNOPSIS
my $sender = Mail::Transport::Exim->new(...);
$sender->send($message);
DESCRIPTION
Implements mail transport using the external 'Exim'
program. When instantiated, the mailer will look for the binary in specific system directories, and the first version found is taken.
If you have Exim installed in a non-standard location, you will need to specify the path, using Mail::Transport::new(proxy)
METHODS
Initiation
- new OPTIONS
-
(Class method)
OPTION DEFAULT executable C<undef> hostname 'localhost' interval 30 log 'WARNINGS' password undef port undef proxy undef retry <false> timeout 120 trace 'WARNINGS' username undef via 'exim'
- executable => FILENAME
-
See Mail::Transport::new(executable)
- hostname => HOSTNAME|ARRAY-OF-HOSTNAMES
-
See Mail::Transport::new(hostname)
- interval => SECONDS
-
See Mail::Transport::new(interval)
- log => LEVEL
-
See Mail::Reporter::new(log)
- password => STRING
-
See Mail::Transport::new(password)
- port => INTEGER
-
See Mail::Transport::new(port)
- proxy => PATH
-
See Mail::Transport::new(proxy)
- retry => NUMBER|undef
-
See Mail::Transport::new(retry)
- timeout => SECONDS
-
See Mail::Transport::new(timeout)
- trace => LEVEL
-
See Mail::Reporter::new(trace)
- username => STRING
-
See Mail::Transport::new(username)
- via => CLASS|NAME
-
See Mail::Transport::new(via)
- trySend MESSAGE, OPTIONS
Server Connection
- findBinary NAME [, DIRECTORIES]
-
See Mail::Transport::findBinary()
- remoteHost
-
See Mail::Transport::remoteHost()
- retry
-
See Mail::Transport::retry()
Sending Mail
- putContent MESSAGE, FILEHANDLE, OPTIONS
-
See Mail::Transport::Send::putContent()
- send MESSAGE, OPTIONS
-
See Mail::Transport::Send::send()
Logging and Tracing
- defaultTrace [LEVEL, [LEVEL]
-
See Mail::Reporter::defaultTrace()
- errors
-
See Mail::Reporter::errors()
- log [LEVEL [,STRINGS]]
-
See Mail::Reporter::log()
- report [LEVEL]
-
See Mail::Reporter::report()
- reportAll [LEVEL]
-
See Mail::Reporter::reportAll()
- trace [LEVEL]
-
See Mail::Reporter::trace()
- warnings
-
See Mail::Reporter::warnings()
Other Methods
- AUTOLOAD
-
See Mail::Reporter::AUTOLOAD()
- DESTROY
-
See Mail::Reporter::DESTROY()
- inGlobalDestruction
-
See Mail::Reporter::inGlobalDestruction()
- logPriority LEVEL
-
See Mail::Reporter::logPriority()
- logSettings
-
See Mail::Reporter::logSettings()
- notImplemented
-
See Mail::Reporter::notImplemented()
SEE ALSO
A good start to read is Mail::Box-Overview. More documentation and a mailinglist are available from the project's website at http://perl.overmeer.net/mailbox/.
AUTHOR
Written by Greg Matheson (lang@ms.chinmin.edu.tw) and Mark Overmeer (mark@overmeer.net) with the help of many. See the ChangeLog for details.
VERSION
This code is beta, version 2.039.
Copyright (c) 2001-2003 by the authors. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.