NAME

HTML::FromMail::Head - output a message header as HTML

INHERITANCE

HTML::FromMail::Head
is a HTML::FromMail::Page
is a HTML::FromMail::Object
is a Mail::Reporter

SYNOPSIS

DESCRIPTION

Extends "DESCRIPTION" in HTML::FromMail::Page.

METHODS

Extends "METHODS" in HTML::FromMail::Page.

$obj->fields(MESSAGE, OPTIONS)
HTML::FromMail::Head->fields(MESSAGE, OPTIONS)

Collect information about the header fields.

-Option --Default
ignore undef
remove_list_group 1
remove_resent_groups 1
remove_spam_groups 1
select ''
ignore => STRING

The reverse of select: which fields not to take.

remove_list_group => BOOLEAN

Do not select the headers which are added by mailing list software. See Mail::Message::Head::ListGroup.

remove_resent_groups => BOOLEAN

Remove all the lines which are related to transport of the message, for instance the Received and Return-Path, and all lines which start with Resent-. See Mail::Message::Head::ResentGroup.

remove_spam_groups => BOOLEAN

Do not select headers which were added by spam fighting software. See Mail::Message::Head::SpamGroup.

select => STRING

Select only the fields which match the patterns found in STRING. Multiple patterns can be specified separated by vertical bars (pipes). The fields are ordered as specified in the STRING. See Mail::Message::Head::Complete subroutine grepNames.

$obj->lookup(LABEL, ARGS)

Inherited, see "METHODS" in HTML::FromMail::Page

HTML::FromMail::Head->new(OPTIONS)
-Option --Defined in --Default
settings HTML::FromMail::Object {}
topic HTML::FromMail::Object 'head'
settings => HASH-OF-HASHES
topic => STRING

SEE ALSO

This module is part of HTML-FromMail distribution version 0.12, built on January 29, 2018. Website: http://perl.overmeer.net/CPAN/

LICENSE

Copyrights 2003-2018 by [Mark Overmeer <markov@cpan.org>]. 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://dev.perl.org/licenses/