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


HTML-FromMail documentation  | view source Contained in the HTML-FromMail distribution.

Index


NAME

Top

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

INHERITANCE

Top

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

SYNOPSIS

Top

DESCRIPTION

Top

METHODS

Top

$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)

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

Attributes

$obj->settings([TOPIC])

See "Attributes" in HTML::FromMail::Object

$obj->topic

See "Attributes" in HTML::FromMail::Object

Export

Other methods

$obj->plain2html(STRING)

See "Other methods" in HTML::FromMail::Object

SEE ALSO

Top

This module is part of HTML-FromMail distribution version 0.11, built on June 08, 2007. Website: http://perl.overmeer.net/html-from-mail/

LICENSE

Top

Copyrights 2003,2004,2007 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


HTML-FromMail documentation  | view source Contained in the HTML-FromMail distribution.