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

undef

retry

Mail::Transport

<false>

sendmail_options

[]

timeout

Mail::Transport

120

trace

Mail::Reporter

'WARNINGS'

username

Mail::Transport

undef

via

Mail::Transport

'sendmail'

executable => FILENAME
hostname => HOSTNAME|ARRAY-OF-HOSTNAMES
interval => SECONDS
log => LEVEL
password => STRING
port => INTEGER
proxy => PATH
retry => NUMBER|undef
sendmail_options => ARRAY
Add to the command-line of the started sendmail MTU a list of separate words. So say [ '-f', $file ] and not [ "-f $file" ] , because the latter will be taken by sendmail as one word only.
timeout => SECONDS
trace => LEVEL
username => STRING
via => CLASS|NAME

Sending mail

$obj->destinations( MESSAGE, [ADDRESS|ARRAY-OF-ADDRESSES] )
See destinations in Mail::Transport::Send.
$obj->putContent( MESSAGE, FILEHANDLE, OPTIONS )
See putContent in Mail::Transport::Send.
$obj->send( MESSAGE, OPTIONS )
See send in Mail::Transport::Send.
$obj->trySend( MESSAGE, OPTIONS )
Option Default

sendmail_options

undef

sendmail_options => ARRAY
» Error: Errors when closing sendmail mailer $program: $!

The was no problem starting the sendmail mail transfer agent, but for some specific reason the message could not be handled correctly.

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.
$obj->inGlobalDestruction
See inGlobalDestruction in Mail::Reporter.