OVERLOADED

overload: ""
See "" in Mail::Message::Head.
overload: bool
See bool in Mail::Message::Head.

METHODS

See METHODS in Mail::Reporter

Constructors

$class->build( [PAIR|$field]-LIST )
See build in Mail::Message::Head.
$class->new( %options )
See new in Mail::Message::Head.

The header

$obj->isDelayed
See isDelayed in Mail::Message::Head.
$obj->isEmpty
See isEmpty in Mail::Message::Head.
$obj->isModified
See isModified in Mail::Message::Head.
$obj->knownNames
See knownNames in Mail::Message::Head.
$obj->message( [$message] )
See message in Mail::Message::Head.
$obj->modified( [BOOLEAN] )
See modified in Mail::Message::Head.
$obj->orderedFields
See orderedFields in Mail::Message::Head.

Access to the header

$obj->count( $name )

Count the number of fields with this $name. If the $name cannot be found, the full header get loaded. In case we find any $name field, it is decided we know all of them, and loading is not needed.

$obj->get( $name, [$index] )

Get the data which is related to the field with the $name. The case of the characters in $name does not matter. When a $name is used which is not known yet, realization will take place.

$obj->study( $name, [$index] )
See study in Mail::Message::Head.

About the body

$obj->guessBodySize

The body size is defined in the Content-Length field. However, this field may not be known. In that case, a guess is made based on the known Lines field. When also that field is not known yet, undef is returned.

$obj->isMultipart
See isMultipart in Mail::Message::Head.

Internals

$obj->addNoRealize( $field )
See addNoRealize in Mail::Message::Head.
$obj->addOrderedFields( $fields )
See addOrderedFields in Mail::Message::Head.
$obj->fileLocation
See fileLocation in Mail::Message::Head.
$obj->load
See load in Mail::Message::Head.
$obj->moveLocation( $distance )
See moveLocation in Mail::Message::Head.
$obj->read( $parser )
See read in Mail::Message::Head.
$obj->setNoRealize( $field )
See setNoRealize in Mail::Message::Head.

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.