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
METHODS
$obj->fields(MESSAGE, OPTIONS)
HTML::FromMail::Head->fields(MESSAGE, OPTIONS)
Collect information about the header fields.
Option Defined in Default
ignore C<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)
HTML::FromMail::Head->new(OPTIONS)
Option Defined in Default
settings L<HTML::FromMail::Object> {}
topic L<HTML::FromMail::Object> C<'head'>
. settings HASH-OF-HASHES
. topic STRING
Attributes
$obj->settings([TOPIC])
$obj->topic
Export
Other methods
$obj->plain2html(STRING)
REFERENCES
See the HTML::FromMail website at http://perl.overmeer.net/html-from-mail/ for more details.
COPYRIGHTS
Module version 0.10. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.
Copyright (c) 2003 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.