NAME

Rit::Base::Email

DESCRIPTION

get

url_path

TODO: Make path base a config

folder

message_id_plain

in_reply_to

Returns: a Para::Frame::List of Rit::Base::Email. Replyto elements not found will reside in the list as Rit::Base::Undef.

references

Returns: a Para::Frame::List of Rit::Base::Email. Reference elements not found will reside in the list as Rit::Base::Undef.

exist

Is the content of this email availible?

obj

  $email->obj()

Returns: A specific subclass of Rit::Base::Email::Part

header

  $email->header( $field_name )

Returns: An array ref

subject

Returns: A Rit::Base::Literal::Email::Subject

date

The date the email was sent

Returns: A Rit::Base::Time

from

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

sender

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

to

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

count_to

Returns: The number of to addresses

bcc

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

cc

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

reply_to

Returns: a Para::Frame::List of Rit::Base::Literal::Email::Address

body

  $email->body

Returns: a ref to the string of the decoded body.

as_html

  $email->as_html

Return: the head and body presented as html

body_as_html

  $email->body_as_html

Return: the string of the body presented as html

attachments_as_html

  $email->attachments_as_html

body_extract

  $email->body_extract

Return: the string of an extract of the body

part

raw_part

match

vacuum

Reprocesses email after arc vacuum

process

sysdesig

desig

send

  $email->send( \%args )

Send the e-mail. Sets sent date.

Supported args are:

  redirect: true for setting header for redirecting the email. Must be
            used if using proxy and to header differs from reciever


  params: extra params for the email template

validate_as_template

  $email->validate_as_template( \%args )

to_obj

on_arc_add

on_arc_del

init

reset_email_cache