Mail::MboxParser::Mail::Convertable

Mail::MboxParser::Mail::Convertable is a Perl module that can convert mail for sending etc.
Download

Mail::MboxParser::Mail::Convertable Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tassilo von Parseval
  • Publisher web site:
  • http://search.cpan.org/~vparseval/

Mail::MboxParser::Mail::Convertable Tags


Mail::MboxParser::Mail::Convertable Description

Mail::MboxParser::Mail::Convertable is a Perl module that can convert mail for sending etc. Mail::MboxParser::Mail::Convertable is a Perl module that can convert mail for sending etc.SYNOPSIS use Mail::MboxParser; # $msg is a Mail::MboxParser::Mail-object my $mail = $msg->make_convertable; $mail->delete_from_header('date', 'message-id'); $mail->replace_in_header('to', 'john.doe@foobar.com'); $mail->add_to_header( , where => 'BEHIND' ); $mail->send('sendmail');This class adds means to convert an email object into something that could be send via SMTP, NNTP or dumped to a file or filehandle. Therefore, methods are provided that change the structure of an email which includes adding and removing of header-fields, MIME-parts etc and transforming them into objects of related modules.Currently, only basic manipulation of the header and sending using Mail::Mailer is provided. More is to come soon.This class works non-destructive. You first create a Convertable-object and do any modifications on this while the Mail-object from which it was derived will not be touched. Requirements: · Perl


Mail::MboxParser::Mail::Convertable Related Software