.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "Mail::Message::Head::Delayed 3" .TH Mail::Message::Head::Delayed 3 2026-04-11 "perl v5.42.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Mail::Message::Head::Delayed \- a not\-read header of a Mail::Message .SH INHERITANCE .IX Header "INHERITANCE" .Vb 1 \& Mail::Message::Head::Delayed realizes a Mail::Message::Head::Complete \& \& Mail::Message::Head::Delayed \& is a Mail::Message::Head \& is a Mail::Reporter .Ve .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 4 \& my $delayed = Mail::Message::Head::Delayed\->new(...) \& $delayed\->isa(\*(AqMail::Message::Head\*(Aq) # true \& $delayed\->guessBodySize # undef \& $delayed\->isDelayed # true .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This object is used as place\-holder, to be replaced by a Mail::Message::Head when someone accesses the header of a message. .PP Extends "DESCRIPTION" in Mail::Message::Head. .SH OVERLOADED .IX Header "OVERLOADED" Extends "OVERLOADED" in Mail::Message::Head. .IP "overload: \fB""""\fR stringifaction" 4 .IX Item "overload: """" stringifaction" Inherited, see "OVERLOADED" in Mail::Message::Head .IP "overload: \fBbool\fR true/false" 4 .IX Item "overload: bool true/false" Inherited, see "OVERLOADED" in Mail::Message::Head .SH METHODS .IX Header "METHODS" Extends "METHODS" in Mail::Message::Head. .SS Constructors .IX Subsection "Constructors" Extends "Constructors" in Mail::Message::Head. .ie n .IP $class\->\fBbuild\fR($fields) 4 .el .IP \f(CW$class\fR\->\fBbuild\fR($fields) 4 .IX Item "$class->build($fields)" You cannot create a delayed header with fields. Improves base, see "Constructors" in Mail::Message::Head .ie n .IP $class\->\fBnew\fR(%options) 4 .el .IP \f(CW$class\fR\->\fBnew\fR(%options) 4 .IX Item "$class->new(%options)" Inherited, see "Constructors" in Mail::Message::Head .SS Attributes .IX Subsection "Attributes" Extends "Attributes" in Mail::Message::Head. .SS "The header" .IX Subsection "The header" Extends "The header" in Mail::Message::Head. .ie n .IP $obj\->\fBisDelayed\fR() 4 .el .IP \f(CW$obj\fR\->\fBisDelayed\fR() 4 .IX Item "$obj->isDelayed()" Inherited, see "The header" in Mail::Message::Head .ie n .IP $obj\->\fBisEmpty\fR() 4 .el .IP \f(CW$obj\fR\->\fBisEmpty\fR() 4 .IX Item "$obj->isEmpty()" Inherited, see "The header" in Mail::Message::Head .ie n .IP $obj\->\fBisModified\fR() 4 .el .IP \f(CW$obj\fR\->\fBisModified\fR() 4 .IX Item "$obj->isModified()" Inherited, see "The header" in Mail::Message::Head .ie n .IP $obj\->\fBknownNames\fR() 4 .el .IP \f(CW$obj\fR\->\fBknownNames\fR() 4 .IX Item "$obj->knownNames()" Inherited, see "The header" in Mail::Message::Head .ie n .IP "$obj\->\fBmessage\fR( [$message] )" 4 .el .IP "\f(CW$obj\fR\->\fBmessage\fR( [$message] )" 4 .IX Item "$obj->message( [$message] )" Inherited, see "The header" in Mail::Message::Head .ie n .IP "$obj\->\fBmodified\fR( [BOOLEAN] )" 4 .el .IP "\f(CW$obj\fR\->\fBmodified\fR( [BOOLEAN] )" 4 .IX Item "$obj->modified( [BOOLEAN] )" Inherited, see "The header" in Mail::Message::Head .ie n .IP $obj\->\fBorderedFields\fR() 4 .el .IP \f(CW$obj\fR\->\fBorderedFields\fR() 4 .IX Item "$obj->orderedFields()" Inherited, see "The header" in Mail::Message::Head .SS "Access to the header" .IX Subsection "Access to the header" Extends "Access to the header" in Mail::Message::Head. .ie n .IP "$obj\->\fBget\fR( $name, [$index] )" 4 .el .IP "\f(CW$obj\fR\->\fBget\fR( \f(CW$name\fR, [$index] )" 4 .IX Item "$obj->get( $name, [$index] )" Get the information about the header line \f(CW$name\fR. Realization will take place. Improves base, see "Access to the header" in Mail::Message::Head .ie n .IP "$obj\->\fBstudy\fR( $name, [$index] )" 4 .el .IP "\f(CW$obj\fR\->\fBstudy\fR( \f(CW$name\fR, [$index] )" 4 .IX Item "$obj->study( $name, [$index] )" Inherited, see "Access to the header" in Mail::Message::Head .SS "About the body" .IX Subsection "About the body" Extends "About the body" in Mail::Message::Head. .ie n .IP $obj\->\fBguessBodySize\fR() 4 .el .IP \f(CW$obj\fR\->\fBguessBodySize\fR() 4 .IX Item "$obj->guessBodySize()" On a delayed head, this returns \f(CW\*(C`undef\*(C'\fR, because when there is no header there is also no body. .Sp For messages in directory or network organized folders, \&\fBMail::Message::size()\fR 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. Improves base, see "About the body" in Mail::Message::Head .ie n .IP $obj\->\fBguessTimeStamp\fR() 4 .el .IP \f(CW$obj\fR\->\fBguessTimeStamp\fR() 4 .IX Item "$obj->guessTimeStamp()" Make a guess about when the message was originally posted. On a delayed head, this returns \f(CW\*(C`undef\*(C'\fR. For messages in directory or network organized folders, \&\fBMail::Message::timestamp()\fR usually will give a figure without much cost. .ie n .IP $obj\->\fBisMultipart\fR() 4 .el .IP \f(CW$obj\fR\->\fBisMultipart\fR() 4 .IX Item "$obj->isMultipart()" Inherited, see "About the body" in Mail::Message::Head .SS Internals .IX Subsection "Internals" Extends "Internals" in Mail::Message::Head. .ie n .IP $obj\->\fBaddNoRealize\fR($field) 4 .el .IP \f(CW$obj\fR\->\fBaddNoRealize\fR($field) 4 .IX Item "$obj->addNoRealize($field)" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBaddOrderedFields\fR($fields) 4 .el .IP \f(CW$obj\fR\->\fBaddOrderedFields\fR($fields) 4 .IX Item "$obj->addOrderedFields($fields)" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBfileLocation\fR() 4 .el .IP \f(CW$obj\fR\->\fBfileLocation\fR() 4 .IX Item "$obj->fileLocation()" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBload\fR() 4 .el .IP \f(CW$obj\fR\->\fBload\fR() 4 .IX Item "$obj->load()" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBmoveLocation\fR($distance) 4 .el .IP \f(CW$obj\fR\->\fBmoveLocation\fR($distance) 4 .IX Item "$obj->moveLocation($distance)" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBread\fR($parser) 4 .el .IP \f(CW$obj\fR\->\fBread\fR($parser) 4 .IX Item "$obj->read($parser)" Inherited, see "Internals" in Mail::Message::Head .ie n .IP $obj\->\fBsetNoRealize\fR($field) 4 .el .IP \f(CW$obj\fR\->\fBsetNoRealize\fR($field) 4 .IX Item "$obj->setNoRealize($field)" Not possible. Improves base, see "Internals" in Mail::Message::Head .SS "Error handling" .IX Subsection "Error handling" Extends "Error handling" in Mail::Message::Head. .ie n .IP $obj\->\fBAUTOLOAD\fR() 4 .el .IP \f(CW$obj\fR\->\fBAUTOLOAD\fR() 4 .IX Item "$obj->AUTOLOAD()" Inherited, see "Error handling" in Mail::Reporter .ie n .IP $obj\->\fBnotImplemented\fR() 4 .el .IP \f(CW$obj\fR\->\fBnotImplemented\fR() 4 .IX Item "$obj->notImplemented()" Inherited, see "Error handling" in Mail::Reporter .SS Cleanup .IX Subsection "Cleanup" Extends "Cleanup" in Mail::Message::Head. .ie n .IP $obj\->\fBDESTROY\fR() 4 .el .IP \f(CW$obj\fR\->\fBDESTROY\fR() 4 .IX Item "$obj->DESTROY()" Inherited, see "Cleanup" in Mail::Reporter .SH DETAILS .IX Header "DETAILS" Extends "DETAILS" in Mail::Message::Head. .SH DIAGNOSTICS .IX Header "DIAGNOSTICS" .IP "Error: attempt to set field on a delayed header." 4 .IX Item "Error: attempt to set field on a delayed header." Cast by \f(CWsetNoRealize()\fR .IP "Error: cannot \fBbuild()\fR a delayed header." 4 .IX Item "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. Cast by \f(CWbuild()\fR .ie n .IP "Error: class $package does not implement method $method." 4 .el .IP "Error: class \f(CW$package\fR does not implement method \f(CW$method\fR." 4 .IX Item "Error: class $package does not implement method $method." Fatal error: the specific \f(CW$package\fR (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. Cast by \f(CWnotImplemented()\fR .SH "SEE ALSO" .IX Header "SEE ALSO" This module is part of Mail\-Box version 4.02, built on April 10, 2026. Website: \fIhttp://perl.overmeer.net/CPAN/\fR .SH LICENSE .IX Header "LICENSE" For contributors see file ChangeLog. .PP This software is copyright (c) 2001\-2026 by Mark Overmeer. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.