OVERLOADED

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

METHODS

See METHODS in Mail::Reporter

Constructors

$obj->build( FIELDS )

You cannot create a delayed header with fields.

» Error: Cannot build() a delayed header.

A delayed message header cannot contain any information, so cannot be build. You can construct complete or subset headers.

$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->get( NAME [,INDEX] )

Get the information about the header line NAME. Realization will take place.

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

About the body

$obj->guessBodySize

On a delayed head, this retuns undef, because when there is no header there is also no body.

For messages in directory or network organized folders, Mail::Message::size() usually will give a figure for the whole message without much cost. Subtract a few hundred bytes for the header, and you will get a good estimate.

$obj->guessTimeStamp

Make a guess about when the message was originally posted. On a delayed head, this returns undef. For messages in directory or network organized folders, Mail::Message::timestamp() usually will give a figure without much cost.

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