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.