NAME

Mariachi::Message - representation of a mail message

METHODS

->new($message)

$message is a rfc2822 compliant message body

your standard constructor

->body

->header

->header_set

body, header, and header_set are provided for interface compatibility with Email::Simple

->first_lines

Returns the a number of lines after the first non blank, none quoted line of the body of the email.

It will guess at attribution lines and skip them as well.

It will return super cited lines. This is the super-citers' fault, not ours.

It won't catch all types of attribution lines;

It can optionally be passed a number of lines to get.

->first_paragraph

Returns the first original paragraph of the message

->first_sentence

Returns the first original sentence of the message

->body_sigless

Returns the body with the signature (defined as anything after "\n-- \n") removed.

->sig

Returns the stripped sig.

->from

A privacy repecting version of the From: header.

->subject

->date

the Subject and Date headers

->filename

the name of the output file

->epoch_date

The date header pared into epoch seconds

->ymd

->day

->month

->year

epoch_date formatted in useful ways

->linked

hashref of indexes that link to us. key is the type of index, value is the filename

->next

the next message in the archive, thread-wise

->prev

the previous message in the archive, thread-wise

->root

the root of the thread you live in