|
NAMEMail::MboxParser::Mail::Convertable - convert mail for sending etc.SYNOPSISuse 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( ['cc', 'john.does.brother@foobar.com'], where => 'BEHIND' ); $mail->send('sendmail'); DESCRIPTIONThis 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. METHODS
VERSIONThis is version 0.55.AUTHOR AND COPYRIGHTTassilo von Parseval <tassilo.von.parseval@rwth-aachen.de>Copyright (c) 2001-2005 Tassilo von Parseval. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOMail::Internet, Mail::Mailer
Visit the GSP FreeBSD Man Page Interface. |