Richard Clamp > Mariachi > Mariachi::Message

Download:
Mariachi-0.52.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

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

->first_paragraph

->first_sentence

See Text::Original

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

syntax highlighting: