NAME

Mail::Message::Head::Complete - the header of one message

CLASS HIERARCHY

Mail::Message::Head::Complete
is a Mail::Message::Head
is a Mail::Reporter

SYNOPSIS

my $head = Mail::Message::Head::Complete->new;
See Mail::Message::Head

DESCRIPTION

A mail's message can be in various states: unread, partially read, and fully read. The class stores a message of which all header lines are known for sure.

METHOD INDEX

The general methods for Mail::Message::Head::Complete objects:

MMH add ...                              new OPTIONS
MMH build FIELDS                     MMH nrLines
MMH count NAME                       MMH print FILEHANDLE
 MR errors                           MMH printUndisclosed FILEHANDLE
MMH get NAME [,INDEX]                 MR report [LEVEL]
MMH isDelayed                         MR reportAll [LEVEL]
MMH isMultipart                      MMH reset NAME, FIELDS
MMH isResent                         MMH set ...
MMH knownNames                       MMH size
 MR log [LEVEL [,STRINGS]]           MMH timestamp
MMH modified [BOOL]                  MMH toString
MMH names                             MR trace [LEVEL]

The extra methods for extension writers:

 MR AUTOLOAD                          MR inGlobalDestruction
 MR DESTROY                          MMH load
MMH addNoRealize FIELD                MR logPriority LEVEL
MMH clone [FIELDS]                    MR logSettings
MMH createFromLine                   MMH message [MESSAGE]
MMH createMessageId                  MMH moveLocation DISTANCE
MMH fileLocation                      MR notImplemented
MMH grepNames [NAMES|ARRAY-OF-N...   MMH read PARSER
MMH guessBodySize                    MMH setNoRealize FIELD
MMH guessTimestamp                   MMH wrapLength [CHARS]

Methods prefixed with an abbreviation are described in the following manual-pages:

 MR = L<Mail::Reporter>
MMH = L<Mail::Message::Head>

METHODS

new OPTIONS

Create a new message header object. The object will store all the fields of a header.

The following options can be specified:

OPTION      DEFINED BY              DEFAULT
field_type  Mail::Message::Head     'Mail::Message::Field'
log         Mail::Reporter          'WARNINGS'
message     Mail::Message::Head     undef
modified    Mail::Message::Head     0
trace       Mail::Reporter          'WARNINGS'
wrap_length Mail::Message::Head     72

No options are specific to a Mail::Message::Head::Complete

METHODS for extension writers

SEE ALSO

Mail::Box-Overview

AUTHOR

Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

VERSION

This code is beta, version 2.00_19.

Copyright (c) 2001 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.