See METHODS in Mail::Reporter
Option | Defined in | Default |
---|---|---|
accept_new | <false> | |
access | Mail::Box |
|
body_delayed_type | Mail::Box | |
body_type | Mail::Box | |
coerce_options | Mail::Box |
|
create | Mail::Box | <false> |
directory | Mail::Box::Dir | <derived from folder name> |
extract | Mail::Box |
|
field_type | Mail::Box | undef |
fix_headers | Mail::Box | <false> |
folder | Mail::Box |
|
folderdir | Mail::Box |
|
head_delayed_type | Mail::Box | |
head_type | Mail::Box | |
keep_dups | Mail::Box | <false> |
lock_file | Mail::Box | <not used> |
lock_timeout | Mail::Box | <not used> |
lock_type | Mail::Box |
|
lock_wait | Mail::Box | <not used> |
locker | Mail::Box | undef |
log | Mail::Reporter |
|
manager | Mail::Box | undef |
message_type | Mail::Box | <folder-class>::Message |
multipart_type | Mail::Box | |
remove_when_empty | Mail::Box | <true> |
save_on_exit | Mail::Box | <true> |
trace | Mail::Reporter |
|
trusted | Mail::Box | <depends on folder location> |
Accept all messages which are waiting in the new
directory to be
moved to the cur
directory. This will not rescan the directory
for newly arrived messages, because that's a task for update().
The message (or messages) could not be stored in the right directories for the Maildir folder.
A message is converted from some other message format into a Maildir format by writing it to a file with a name which contains the status flags of the message. Apparently, creating this file failed.
Option | Defined in | Default |
---|---|---|
folderdir | Mail::Box | undef |
One or more of the directories required to administer a Maildir folder could not be created.
The $folderdir contains the absolute path of the location where the
messages are kept. Maildir folders contain a tmp
, new
, and
cur
sub-directory within that folder directory as well. This
method will ensure that all directories exist.
Returns false on failure.
A Maildir folder is represented by a directory, with some sub-directories. The top folder directory could not be created for the reason indicated.
Each Maildir folder has three sub-directories for administration: new
,
tmp
, and cur
. The mentioned directory could not be created for
the indicated reason.
Checks whether the folder whose directory is specified as absolute $folderdir
is empty or not. A folder is empty when the tmp
, new
, and cur
subdirectories are empty and some files which are left there by application
programs. The maildir spec explicitly states: .qmail
, bulletintime
,
bulletinlock
and seriallock
. If any other files are found, the
directory is considered not-empty.