See METHODS in Mail::Reporter
Create a messages in a directory organized folder.
Option | Defined in | Default |
---|---|---|
body | Mail::Message | undef |
body_type | Mail::Box::Message | <from folder> |
deleted | Mail::Message | <false> |
field_type | Mail::Message | undef |
filename | undef | |
fix_header |
| |
folder | Mail::Box::Message | <required> |
head | Mail::Message | undef |
head_type | Mail::Message | |
labels | Mail::Message | {} |
log | Mail::Reporter |
|
messageId | Mail::Message | undef |
modified | Mail::Message | <false> |
size | Mail::Box::Message | undef |
trace | Mail::Reporter |
|
trusted | Mail::Message | <false> |
Returns the name of the file in which this message is actually stored. This
will return undef
when the message is not stored in a file.
Create the message in the specified file. If the message already has a filename and is not modified, then a move is tried. Otherwise the message is printed to the file. If the FILENAME already exists for this message, nothing is done. In any case, the new FILENAME is set as well.
When a modified or new message is written to disk, it is first written to a temporary file in the folder directory. For some reason, it is impossible to create this file.
When a modified or new message is written to disk, it is first written to a temporary file in the folder directory. Then, the new file is moved to replace the existing file. Apparently, the latter fails.
This method is called by the autoloader when the body of the message is needed.
For some reason, the header of the message could be read, but the body cannot. Probably the file has disappeared or the permissions were changed during the progress of the program.
Mail::Box tries to be lazy with respect to parsing messages. When a directory organized folder is opened, only the filenames of messages are collected. At first use, the messages are read from their file. Apperently, a message is used for the first time here, but has disappeared or is unreadible for some other reason.
This method is called by the autoloader when the header of the message is needed.
Create and return a parser for this message (-file).
For some reason (the previous message have told you already) it was not possible to create a message parser for the specified filename.