See METHODS in Mail::Reporter
Returns the current filename for this message. If the FILENAME argument is specified, a new filename will be set. For maildir messages this means that modifications are immediately performed: there will be a rename (move) from the old name to the new name. Labels may change within in the message object as well.
The filename of a Mail::Box::Maildir::Message
contains a timestamp. This
is a wild guess about the actual time of sending of the message: it is the
time of receipt which may be seconds to hours off. But is still a good
guess... When the message header is not parsed, then this date is used.
When the labels on a message change, this may implicate a change in
the message's filename. The change will take place immediately. The
new filename (which may be the same as the old filename) is returned.
undef
is returned when the rename is required but fails.
Accept a message for the folder. This will move it from the new
or tmp
sub-directories into the cur
sub-directory (or back when
the BOOLEAN is false
). When you accept an already accepted message,
nothing will happen.