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.

Constructors

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

$class->new(%options)

-Option  --Defined in            --Default
 settings  HTML::FromMail::Object  {}
 topic     HTML::FromMail::Object  'head'
settings => \%map
topic => STRING

Attributes

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

$obj->settings( [TOPIC] )

Inherited, see "Attributes" in HTML::FromMail::Object

$obj->topic()

Inherited, see "Attributes" in HTML::FromMail::Object

Other methods

Extends "Other methods" in HTML::FromMail::Page.

$any->fields($message, %options)

Collect information about the header fields.

-Option              --Default
 ignore                undef
 remove_list_group     true
 remove_resent_groups  true
 remove_spam_groups    true
 select                ''
ignore => $exclude

The reverse of select: patterns listing 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 => $patterns

Select only the fields which match the $patterns. Multiple patterns can be specified separated by vertical bars (pipes). The fields returned are ordered as specified.

See Mail::Message::Head::Complete subroutine grepNames.

$obj->lookup($label, \%options)

Inherited, see "Other methods" in HTML::FromMail::Page

$obj->plain2html(STRING)

Inherited, see "Other methods" in HTML::FromMail::Object

SEE ALSO

This module is part of HTML-FromMail version 3.01, built on November 21, 2025. Website: http://perl.overmeer.net/CPAN/

LICENSE

For contributors see file ChangeLog.

This software is copyright (c) 2003-2025 by Mark Overmeer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.