my $lg = Mail::Message::Head::ListGroup->new(head => $head, ...); $head->addListGroup($lg); my $lg = $head->addListGroup(...); $lg->delete;
See SYNOPSIS in Mail::Message::Head::FieldGroup
A list group is a set of header fields which are added by mailing-list managing software. This class knowns various details about that software.
The knowledge and test messages which are used to initially implement this module is taken from Mail::ListDetector, written by Michael Stevens <mailto:michael@etla.org>. The logic is redesigned to add flexibility and use the powerful MailBox features.
See DESCRIPTION in Mail::Message::Head::FieldGroup
The Mail::Message::Head::ListGroup class can detect many different mailing lists, some of which are very popular and some of which are rare.
Numerous fields in a header are addded when the message is passed
through a mailing list server. Each list software has defined its own
fields, sometimes woth conflicting definitions. There are also two
RFCs about mailing list: rfc2919
and rfc2369
.
The following lists are currently detected. Between parenthesis is the string returned by type() when that differs from the software name.
Legacy commercial MacOS implementation by Stalker Software Inc. http://www.stalker.com/mac/default.html