METHODS

See METHODS in Mail::Reporter

Constructors

$class->new( %options )
Option Defined in Default

executable

Mail::Transport

undef

hostname

Mail::Transport

'localhost'

interval

Mail::Transport

30

log

Mail::Reporter

'WARNINGS'

password

Mail::Transport

undef

port

Mail::Transport

undef

proxy

Mail::Transport

'qmail-inject'

retry

Mail::Transport

<false>

timeout

Mail::Transport

120

trace

Mail::Reporter

'WARNINGS'

username

Mail::Transport

undef

via

Mail::Transport

'qmail'

executable => FILENAME
hostname => HOSTNAME|ARRAY
interval => SECONDS
log => LEVEL
password => STRING
port => INTEGER
proxy => PATH
retry => NUMBER|undef
timeout => SECONDS
trace => LEVEL
username => STRING
via => CLASS|NAME

Sending mail

$obj->destinations( $message, [$address|ARRAY] )
See destinations in Mail::Transport::Send.
$obj->putContent( $message, $fh, %options )
See putContent in Mail::Transport::Send.
$obj->send( $message, %options )
See send in Mail::Transport::Send.
$obj->trySend( $message, %options )
» Error: Errors when closing Qmail mailer $program: $!

The Qmail mail transfer agent did start, but was not able to handle the message for some specific reason.

Server connection

$obj->findBinary( $name, [@directories] )
See findBinary in Mail::Transport.
$obj->remoteHost
See remoteHost in Mail::Transport.
$obj->retry
See retry in Mail::Transport.

Error handling

$obj->AUTOLOAD
See AUTOLOAD in Mail::Reporter.
$obj->addReport( $object )
See addReport in Mail::Reporter.
$obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level, $callback] )
$class->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level, $callback] )
See defaultTrace in Mail::Reporter.
$obj->errors
See errors in Mail::Reporter.
$obj->log( [$level, [$strings]] )
$class->log( [$level, [$strings]] )
See log in Mail::Reporter.
$obj->logPriority( $level )
$class->logPriority( $level )
See logPriority in Mail::Reporter.
$obj->logSettings
See logSettings in Mail::Reporter.
$obj->notImplemented
See notImplemented in Mail::Reporter.
$obj->report( [$level] )
See report in Mail::Reporter.
$obj->reportAll( [$level] )
See reportAll in Mail::Reporter.
$obj->trace( [$level] )
See trace in Mail::Reporter.
$obj->warnings
See warnings in Mail::Reporter.

Cleanup

$obj->DESTROY
See DESTROY in Mail::Reporter.