.\" -*- 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::Body::File 3" .TH Mail::Message::Body::File 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::Body::File \- body of a message temporarily stored in a file .SH INHERITANCE .IX Header "INHERITANCE" .Vb 3 \& Mail::Message::Body::File \& is a Mail::Message::Body \& is a Mail::Reporter \& \& Mail::Message::Body also extends Mail::Reporter \& is a Mail::Reporter .Ve .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& See Mail::Message::Body .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" The body (content) of a message can be stored in various ways. In this documentation you find the description of extra functionality you have when a message is stored in a file. .PP Storing a whole message is a file is useful when the body is large. Although access through a file is slower, it is saving a lot of memory. .PP Extends "DESCRIPTION" in Mail::Message::Body. .SH OVERLOADED .IX Header "OVERLOADED" Extends "OVERLOADED" in Mail::Message::Body. .IP "overload: \fB\*(Aq""""\*(Aq\fR stringification" 4 .IX Item "overload: '""""' stringification" Inherited, see "OVERLOADED" in Mail::Message::Body .IP "overload: \fB\*(Aq==\*(Aq\fR numerical comparison" 4 .IX Item "overload: '==' numerical comparison" Inherited, see "OVERLOADED" in Mail::Message::Body .IP "overload: \fB\*(Aq@{}\*(Aq\fR addressed as array" 4 .IX Item "overload: '@{}' addressed as array" Inherited, see "OVERLOADED" in Mail::Message::Body .IP "overload: \fBbool\fR true/false" 4 .IX Item "overload: bool true/false" Inherited, see "OVERLOADED" in Mail::Message::Body .SH METHODS .IX Header "METHODS" Extends "METHODS" in Mail::Message::Body. .SS Constructors .IX Subsection "Constructors" Extends "Constructors" in Mail::Message::Body. .ie n .IP $obj\->\fBclone\fR() 4 .el .IP \f(CW$obj\fR\->\fBclone\fR() 4 .IX Item "$obj->clone()" Inherited, see "Constructors" in Mail::Message::Body .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::Body .Sp .Vb 10 \& \-Option \-\-Defined in \-\-Default \& based_on Mail::Message::Body undef \& charset Mail::Message::Body \*(AqPERL\*(Aq \& checked Mail::Message::Body false \& content_id Mail::Message::Body undef \& data Mail::Message::Body undef \& description Mail::Message::Body undef \& disposition Mail::Message::Body undef \& eol Mail::Message::Body \*(AqNATIVE\*(Aq \& file Mail::Message::Body undef \& filename Mail::Message::Body undef \& language Mail::Message::Body undef \& message Mail::Message::Body undef \& mime_type Mail::Message::Body \*(Aqtext/plain\*(Aq \& modified Mail::Message::Body false \& transfer_encoding Mail::Message::Body \*(Aqnone\*(Aq .Ve .RS 4 .ie n .IP "based_on => $body" 2 .el .IP "based_on => \f(CW$body\fR" 2 .IX Item "based_on => $body" .PD 0 .ie n .IP "charset => $charset|\*(AqPERL\*(Aq|" 2 .el .IP "charset => \f(CW$charset\fR|\*(AqPERL\*(Aq|" 2 .IX Item "charset => $charset|'PERL'|" .IP "checked => BOOLEAN" 2 .IX Item "checked => BOOLEAN" .IP "content_id => STRING" 2 .IX Item "content_id => STRING" .IP "data => \e@lines|$text" 2 .IX Item "data => @lines|$text" .IP "description => STRING|$field" 2 .IX Item "description => STRING|$field" .IP "disposition => STRING|$field" 2 .IX Item "disposition => STRING|$field" .IP "eol => \*(AqCR\*(Aq|\*(AqLF\*(Aq|\*(AqCRLF\*(Aq|\*(AqNATIVE\*(Aq" 2 .IX Item "eol => 'CR'|'LF'|'CRLF'|'NATIVE'" .ie n .IP "file => $file|$handle|$io" 2 .el .IP "file => \f(CW$file\fR|$handle|$io" 2 .IX Item "file => $file|$handle|$io" .ie n .IP "filename => $file" 2 .el .IP "filename => \f(CW$file\fR" 2 .IX Item "filename => $file" .IP "language => STRING|\e@lang|$field" 2 .IX Item "language => STRING|@lang|$field" .ie n .IP "message => $message" 2 .el .IP "message => \f(CW$message\fR" 2 .IX Item "message => $message" .IP "mime_type => STRING|$field|$mime" 2 .IX Item "mime_type => STRING|$field|$mime" .IP "modified => BOOLEAN" 2 .IX Item "modified => BOOLEAN" .IP "transfer_encoding => STRING|$field" 2 .IX Item "transfer_encoding => STRING|$field" .PD .RE .RS 4 .RE .SS Attributes .IX Subsection "Attributes" Extends "Attributes" in Mail::Message::Body. .ie n .IP "$obj\->\fBcharsetDetectAlgorithm\fR( [CODE|undef|METHOD] )" 4 .el .IP "\f(CW$obj\fR\->\fBcharsetDetectAlgorithm\fR( [CODE|undef|METHOD] )" 4 .IX Item "$obj->charsetDetectAlgorithm( [CODE|undef|METHOD] )" Inherited, see "Attributes" in Mail::Message::Body::Encode .SS "Constructing a body" .IX Subsection "Constructing a body" Extends "Constructing a body" in Mail::Message::Body. .ie n .IP "$obj\->\fBattach\fR(@messages, %options)" 4 .el .IP "\f(CW$obj\fR\->\fBattach\fR(@messages, \f(CW%options\fR)" 4 .IX Item "$obj->attach(@messages, %options)" Inherited, see "Constructing a body" in Mail::Message::Body::Construct .ie n .IP $obj\->\fBcharsetDetect\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBcharsetDetect\fR(%options) 4 .IX Item "$obj->charsetDetect(%options)" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBcheck\fR() 4 .el .IP \f(CW$obj\fR\->\fBcheck\fR() 4 .IX Item "$obj->check()" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBconcatenate\fR(@components) 4 .el .IP \f(CW$obj\fR\->\fBconcatenate\fR(@components) 4 .IX Item "$obj->concatenate(@components)" Inherited, see "Constructing a body" in Mail::Message::Body::Construct .ie n .IP $obj\->\fBdecoded\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBdecoded\fR(%options) 4 .IX Item "$obj->decoded(%options)" Inherited, see "Constructing a body" in Mail::Message::Body .ie n .IP $obj\->\fBencode\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBencode\fR(%options) 4 .IX Item "$obj->encode(%options)" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBencoded\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBencoded\fR(%options) 4 .IX Item "$obj->encoded(%options)" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .ie n .IP "$obj\->\fBeol\fR( [\*(AqCR\*(Aq|\*(AqLF\*(Aq|\*(AqCRLF\*(Aq|\*(AqNATIVE\*(Aq] )" 4 .el .IP "\f(CW$obj\fR\->\fBeol\fR( [\*(AqCR\*(Aq|\*(AqLF\*(Aq|\*(AqCRLF\*(Aq|\*(AqNATIVE\*(Aq] )" 4 .IX Item "$obj->eol( ['CR'|'LF'|'CRLF'|'NATIVE'] )" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBforeachLine\fR(CODE) 4 .el .IP \f(CW$obj\fR\->\fBforeachLine\fR(CODE) 4 .IX Item "$obj->foreachLine(CODE)" Inherited, see "Constructing a body" in Mail::Message::Body::Construct .ie n .IP $obj\->\fBstripSignature\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBstripSignature\fR(%options) 4 .IX Item "$obj->stripSignature(%options)" Inherited, see "Constructing a body" in Mail::Message::Body::Construct .ie n .IP $obj\->\fBunify\fR($body) 4 .el .IP \f(CW$obj\fR\->\fBunify\fR($body) 4 .IX Item "$obj->unify($body)" Inherited, see "Constructing a body" in Mail::Message::Body::Encode .SS "The body" .IX Subsection "The body" Extends "The body" in Mail::Message::Body. .ie n .IP $obj\->\fBisDelayed\fR() 4 .el .IP \f(CW$obj\fR\->\fBisDelayed\fR() 4 .IX Item "$obj->isDelayed()" Inherited, see "The body" in Mail::Message::Body .ie n .IP $obj\->\fBisMultipart\fR() 4 .el .IP \f(CW$obj\fR\->\fBisMultipart\fR() 4 .IX Item "$obj->isMultipart()" Inherited, see "The body" in Mail::Message::Body .ie n .IP $obj\->\fBisNested\fR() 4 .el .IP \f(CW$obj\fR\->\fBisNested\fR() 4 .IX Item "$obj->isNested()" Inherited, see "The body" in Mail::Message::Body .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 body" in Mail::Message::Body .ie n .IP $obj\->\fBpartNumberOf\fR($part) 4 .el .IP \f(CW$obj\fR\->\fBpartNumberOf\fR($part) 4 .IX Item "$obj->partNumberOf($part)" Inherited, see "The body" in Mail::Message::Body .SS "About the payload" .IX Subsection "About the payload" Extends "About the payload" in Mail::Message::Body. .ie n .IP $obj\->\fBcharset\fR() 4 .el .IP \f(CW$obj\fR\->\fBcharset\fR() 4 .IX Item "$obj->charset()" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBchecked\fR( [BOOLEAN] )" 4 .el .IP "\f(CW$obj\fR\->\fBchecked\fR( [BOOLEAN] )" 4 .IX Item "$obj->checked( [BOOLEAN] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBcontentId\fR( [STRING|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBcontentId\fR( [STRING|$field] )" 4 .IX Item "$obj->contentId( [STRING|$field] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBdescription\fR( [STRING|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBdescription\fR( [STRING|$field] )" 4 .IX Item "$obj->description( [STRING|$field] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBdisposition\fR( [STRING|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBdisposition\fR( [STRING|$field] )" 4 .IX Item "$obj->disposition( [STRING|$field] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBdispositionFilename\fR( [$directory] )" 4 .el .IP "\f(CW$obj\fR\->\fBdispositionFilename\fR( [$directory] )" 4 .IX Item "$obj->dispositionFilename( [$directory] )" Inherited, see "About the payload" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBisBinary\fR() 4 .el .IP \f(CW$obj\fR\->\fBisBinary\fR() 4 .IX Item "$obj->isBinary()" Inherited, see "About the payload" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBisText\fR() 4 .el .IP \f(CW$obj\fR\->\fBisText\fR() 4 .IX Item "$obj->isText()" Inherited, see "About the payload" in Mail::Message::Body::Encode .ie n .IP "$obj\->\fBlanguage\fR( [@langs|\e@langs|$langs|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBlanguage\fR( [@langs|\e@langs|$langs|$field] )" 4 .IX Item "$obj->language( [@langs|@langs|$langs|$field] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP $obj\->\fBmimeType\fR() 4 .el .IP \f(CW$obj\fR\->\fBmimeType\fR() 4 .IX Item "$obj->mimeType()" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP $obj\->\fBnrLines\fR() 4 .el .IP \f(CW$obj\fR\->\fBnrLines\fR() 4 .IX Item "$obj->nrLines()" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP $obj\->\fBsize\fR() 4 .el .IP \f(CW$obj\fR\->\fBsize\fR() 4 .IX Item "$obj->size()" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBtransferEncoding\fR( [STRING|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBtransferEncoding\fR( [STRING|$field] )" 4 .IX Item "$obj->transferEncoding( [STRING|$field] )" Inherited, see "About the payload" in Mail::Message::Body .ie n .IP "$obj\->\fBtype\fR( [STRING|$field] )" 4 .el .IP "\f(CW$obj\fR\->\fBtype\fR( [STRING|$field] )" 4 .IX Item "$obj->type( [STRING|$field] )" Inherited, see "About the payload" in Mail::Message::Body .SS "Access to the payload" .IX Subsection "Access to the payload" Extends "Access to the payload" in Mail::Message::Body. .ie n .IP $obj\->\fBendsOnNewline\fR() 4 .el .IP \f(CW$obj\fR\->\fBendsOnNewline\fR() 4 .IX Item "$obj->endsOnNewline()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBfile\fR() 4 .el .IP \f(CW$obj\fR\->\fBfile\fR() 4 .IX Item "$obj->file()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBlines\fR() 4 .el .IP \f(CW$obj\fR\->\fBlines\fR() 4 .IX Item "$obj->lines()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBprint\fR() 4 .el .IP \f(CW$obj\fR\->\fBprint\fR() 4 .IX Item "$obj->print()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBprintEscapedFrom\fR($fh) 4 .el .IP \f(CW$obj\fR\->\fBprintEscapedFrom\fR($fh) 4 .IX Item "$obj->printEscapedFrom($fh)" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBstring\fR() 4 .el .IP \f(CW$obj\fR\->\fBstring\fR() 4 .IX Item "$obj->string()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBstripTrailingNewline\fR() 4 .el .IP \f(CW$obj\fR\->\fBstripTrailingNewline\fR() 4 .IX Item "$obj->stripTrailingNewline()" Inherited, see "Access to the payload" in Mail::Message::Body .ie n .IP $obj\->\fBwrite\fR(%options) 4 .el .IP \f(CW$obj\fR\->\fBwrite\fR(%options) 4 .IX Item "$obj->write(%options)" Inherited, see "Access to the payload" in Mail::Message::Body .SS Internals .IX Subsection "Internals" Extends "Internals" in Mail::Message::Body. .ie n .IP "$any\->\fBaddTransferEncHandler\fR( $name, <$class|$object> )" 4 .el .IP "\f(CW$any\fR\->\fBaddTransferEncHandler\fR( \f(CW$name\fR, <$class|$object> )" 4 .IX Item "$any->addTransferEncHandler( $name, <$class|$object> )" Inherited, see "Internals" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBcontentInfoFrom\fR($head) 4 .el .IP \f(CW$obj\fR\->\fBcontentInfoFrom\fR($head) 4 .IX Item "$obj->contentInfoFrom($head)" Inherited, see "Internals" in Mail::Message::Body .ie n .IP $obj\->\fBcontentInfoTo\fR($head) 4 .el .IP \f(CW$obj\fR\->\fBcontentInfoTo\fR($head) 4 .IX Item "$obj->contentInfoTo($head)" Inherited, see "Internals" in Mail::Message::Body .ie n .IP "$obj\->\fBfileLocation\fR( [$begin, $end] )" 4 .el .IP "\f(CW$obj\fR\->\fBfileLocation\fR( [$begin, \f(CW$end\fR] )" 4 .IX Item "$obj->fileLocation( [$begin, $end] )" Inherited, see "Internals" in Mail::Message::Body .ie n .IP $obj\->\fBgetTransferEncHandler\fR($type) 4 .el .IP \f(CW$obj\fR\->\fBgetTransferEncHandler\fR($type) 4 .IX Item "$obj->getTransferEncHandler($type)" Inherited, see "Internals" in Mail::Message::Body::Encode .ie n .IP $obj\->\fBisModified\fR() 4 .el .IP \f(CW$obj\fR\->\fBisModified\fR() 4 .IX Item "$obj->isModified()" Inherited, see "Internals" in Mail::Message::Body .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::Body .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 "Internals" in Mail::Message::Body .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::Body .ie n .IP $obj\->\fBread\fR() 4 .el .IP \f(CW$obj\fR\->\fBread\fR() 4 .IX Item "$obj->read()" Inherited, see "Internals" in Mail::Message::Body .ie n .IP "$obj\->\fBtempFilename\fR( [$filename] )" 4 .el .IP "\f(CW$obj\fR\->\fBtempFilename\fR( [$filename] )" 4 .IX Item "$obj->tempFilename( [$filename] )" Returns the name of the temporary file which is used to store this body. .SS "Error handling" .IX Subsection "Error handling" Extends "Error handling" in Mail::Message::Body. .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::Message::Body .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 .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::Body. .ie n .IP $obj\->\fBDESTROY\fR() 4 .el .IP \f(CW$obj\fR\->\fBDESTROY\fR() 4 .IX Item "$obj->DESTROY()" The temporary file is automatically removed when the body is not required anymore. Improves base, see "Cleanup" in Mail::Reporter .SH DETAILS .IX Header "DETAILS" Extends "DETAILS" in Mail::Message::Body. .SH DIAGNOSTICS .IX Header "DIAGNOSTICS" .IP "Warning: Content\-Transfer\-Encoding \*(Aq$te\*(Aq requires explicit charset, defaulted to utf\-8." 4 .IX Item "Warning: Content-Transfer-Encoding '$te' requires explicit charset, defaulted to utf-8." Cast by \f(CWencode()\fR .ie n .IP "Error: cannot concatenate element $which" 4 .el .IP "Error: cannot concatenate element \f(CW$which\fR" 4 .IX Item "Error: cannot concatenate element $which" Cast by \f(CWconcatenate()\fR .ie n .IP "Fault: cannot open $file to write body: $!" 4 .el .IP "Fault: cannot open \f(CW$file\fR to write body: $!" 4 .IX Item "Fault: cannot open $file to write body: $!" Cast by \f(CWwrite()\fR .ie n .IP "Fault: cannot read from file $name: $!" 4 .el .IP "Fault: cannot read from file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot read from file $name: $!" Cast by \f(CWnrLines()\fR .ie n .IP "Fault: cannot read from file $name: $!" 4 .el .IP "Fault: cannot read from file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot read from file $name: $!" Cast by \f(CWendsOnNewline()\fR .ie n .IP "Fault: cannot read from file $name: $!" 4 .el .IP "Fault: cannot read from file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot read from file $name: $!" Cast by \f(CWprint()\fR .ie n .IP "Fault: cannot read from file $name: $!" 4 .el .IP "Fault: cannot read from file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot read from file $name: $!" Cast by \f(CWlines()\fR .ie n .IP "Fault: cannot read from file $name: $!" 4 .el .IP "Fault: cannot read from file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot read from file $name: $!" Cast by \f(CWstring()\fR .ie n .IP "Fault: cannot write body to file $name: $!" 4 .el .IP "Fault: cannot write body to file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot write body to file $name: $!" Cast by \f(CWnew()\fR .ie n .IP "Fault: cannot write to file $name: $!" 4 .el .IP "Fault: cannot write to file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot write to file $name: $!" Cast by \f(CWread()\fR .ie n .IP "Fault: cannot write to temporary body file $name: $!" 4 .el .IP "Fault: cannot write to temporary body file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot write to temporary body file $name: $!" The message body is to be stored in a temporary file (probably because it is a large body), but for the indicated reason, this file cannot be created. Cast by \f(CWnew()\fR .ie n .IP "Fault: cannot write to temporary body file $name: $!" 4 .el .IP "Fault: cannot write to temporary body file \f(CW$name:\fR $!" 4 .IX Item "Fault: cannot write to temporary body file $name: $!" Cast by \f(CWnew()\fR .IP "Warning: charset \*(Aq$name\*(Aq is not known." 4 .IX Item "Warning: charset '$name' is not known." The encoding or decoding of a message body encounters a character set which is not understood by Perl\*(Aqs Encode module. Cast by \f(CWencode()\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 .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 .ie n .IP "Fault: error closing $file after write body: $!" 4 .el .IP "Fault: error closing \f(CW$file\fR after write body: $!" 4 .IX Item "Fault: error closing $file after write body: $!" Cast by \f(CWwrite()\fR .IP "Warning: no decoder defined for transfer encoding \*(Aq$encoding\*(Aq." 4 .IX Item "Warning: no decoder defined for transfer encoding '$encoding'." The data (message body) is encoded in a way which is not currently understood, therefore no decoding (or recoding) can take place. Cast by \f(CWencode()\fR .IP "Warning: no encoder defined for transfer encoding \*(Aq$encoding\*(Aq." 4 .IX Item "Warning: no encoder defined for transfer encoding '$encoding'." The data (message body) has been decoded, but the required encoding is unknown. The decoded data is returned. Cast by \f(CWencode()\fR .IP "Error: no filename parameter for \fBwrite()\fR body." 4 .IX Item "Error: no filename parameter for write() body." Cast by \f(CWwrite()\fR .IP "Error: part number needs multi\-part or nested." 4 .IX Item "Error: part number needs multi-part or nested." Cast by \f(CWpartNumberOf()\fR .ie n .IP "Fault: unable to read file $name for message body file: $!" 4 .el .IP "Fault: unable to read file \f(CW$name\fR for message body file: $!" 4 .IX Item "Fault: unable to read file $name for message body file: $!" A Mail::Message::Body::File object is to be created from a named file, but it is impossible to read that file to retrieve the lines within. Therefore, no copy to a temporary file can be made. Cast by \f(CWnew()\fR .IP "Error: unknown line terminator \*(Aq$eol\*(Aq." 4 .IX Item "Error: unknown line terminator '$eol'." Cast by \f(CWeol()\fR .SH "SEE ALSO" .IX Header "SEE ALSO" This module is part of Mail\-Message version 4.05, built on April 10, 2026. Website: \fIhttp://perl.overmeer.net/mailbox/\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.