METHODS

See METHODS in Mail::Reporter

Constructors

$class->new( OPTIONS )
See new in Mail::Reporter.

The Encoder

$class->addTransferEncoder( TYPE, CLASS )

Adds one new encoder to the list known by the Mail::Box suite. The TYPE is found in the message's header in the Content-Transfer-Encoding field.

$obj->create( TYPE, OPTIONS )

Create a new coder/decoder based on the required type.

» Error: Decoder for transfer encoding $type does not work: $@

Compiling the required transfer encoding resulted in errors, which means that the decoder can not be used.

» Warning: No decoder for transfer encoding $type.

A decoder for the specified type of transfer encoding is not implemented.

$obj->name

The name of the encoder. Case is not significant.

Encoding

$obj->check( BODY, OPTIONS )

Check whether the body is correctly encoded. If so, the body reference is returned with the checked flag set. Otherwise, a new object is created and returned.

Option Default

result_type

<type of source body>

result_type => CLASS
The type of the body to be produced, when the checker decides to return modified data.
$obj->decode( BODY [, OPTIONS] )

Use the encoder to decode the content of BODY. A new body is returned.

Option Default

result_type

<type of source body>

result_type => CLASS
The type of the body to be produced, when the decoder decides to return modified data.
$obj->encode( BODY, OPTIONS )

Use the encoder to encode the content of BODY.

Option Default

result_type

<type of source body>

result_type => CLASS
The type of the body to be produced, when the decoder decides to return modified data.

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.