The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
=encoding utf8

=head1 NAME

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

=head1 INHERITANCE

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

=head1 SYNOPSIS

=head1 DESCRIPTION

Extends L<"DESCRIPTION" in HTML::FromMail::Page|HTML::FromMail::Page/"DESCRIPTION">.
 
=head1 METHODS

Extends L<"METHODS" in HTML::FromMail::Page|HTML::FromMail::Page/"METHODS">.
 
=over 4

=item $obj-E<gt>B<fields>(MESSAGE, OPTIONS)

=item HTML::FromMail::Head-E<gt>B<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                ''

=over 2

=item ignore => STRING

The reverse of C<select>: which fields not to take.

=item remove_list_group => BOOLEAN

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

=item remove_resent_groups => BOOLEAN

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

=item remove_spam_groups => BOOLEAN

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

=item select => STRING

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

=back

=item $obj-E<gt>B<lookup>(LABEL, ARGS)

Inherited, see L<HTML::FromMail::Page/"METHODS">

=item HTML::FromMail::Head-E<gt>B<new>(OPTIONS)

 -Option  --Defined in            --Default
  settings  HTML::FromMail::Object  {}
  topic     HTML::FromMail::Object  'head'

=over 2

=item settings => HASH-OF-HASHES

=item topic => STRING

=back

=back

=head1 SEE ALSO

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

=head1 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 F<http://dev.perl.org/licenses/>