Mail::Box::MH::Labels - maintain MH message related labels
Mail::Box::MH::Labels is a Mail::Reporter
my $labels = Mail::Box::MH::Labels->new; $labels->read(...) $labels->write(...)
MH type message folders use one dedicated file per folder-directory to list special tags to messages in that folder. By doing this, mail agents may avoid parsing all the messages, which is very resource consuming.
Labels can be used to group messages, for instance to reflect which messages have been read or which look like spam. Some labels are predefined, but more can be added without limitation.
Extends "DESCRIPTION" in Mail::Reporter.
Extends "METHODS" in Mail::Reporter.
Extends "Constructors" in Mail::Reporter.
-Option --Defined in --Default filename <required> log Mail::Reporter 'WARNINGS' trace Mail::Reporter 'WARNINGS'
The FILENAME which is used in each directory to store the headers of all mails. The filename must be an absolute path.
Append the label information about the specified $messages to the end of the label file. The information will not be merged with the information already present in the label file.
Returns the name of the index file.
Look if there is label info for message $msgnr.
Print the labels of the specified messages to the opened file.
Read all label information from file.
Write the labels related to the specified messages to the label file.
Extends "Error handling" in Mail::Reporter.
Inherited, see "Error handling" in Mail::Reporter
Extends "Cleanup" in Mail::Reporter.
Inherited, see "Cleanup" in Mail::Reporter
Fatal error: the specific package (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.
This module is part of Mail-Box distribution version 2.117, built on August 24, 2014. Website: http://perl.overmeer.net/mailbox/
Copyrights 2001-2014 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
To install Mail::Box, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Box
CPAN shell
perl -MCPAN -e shell install Mail::Box
For more information on module installation, please visit the detailed CPAN module installation guide.