HTML::Mail

HTML::Mail is a Perl extension for sending emails with embedded HTML and media.
Download

HTML::Mail Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Cludio Valente
  • Publisher web site:
  • http://search.cpan.org/~plank/HTML-Mail-0.02_05/lib/HTML/Mail.pm

HTML::Mail Tags


HTML::Mail Description

HTML::Mail is a Perl extension for sending emails with embedded HTML and media. HTML::Mail is a Perl extension for sending emails with embedded HTML and media.SYNOPSIS use HTML::Mail; ### initialisation my $html_mail = HTML::Mail->new( HTML => 'http://www.cpan.org', Text => 'This is the text representation of the webpage http://www.cpan.org', From => 'me@myhost.org', To => 'you@yourhost.org', Subject => 'CPAN webpage'); ### Send the email ("inherited" from MIME::Lite) $html_mail->send(); #### Remove text representation $html_mail->set_Text(); ### Rebuild the message and send $html_mail->build->send; ### Serialise to file for later reuse $html_mail->dump_file('/tmp/cpan_mail.data'); ### Restore from file my $restored = HTML::Mail->restore_file('/tmp/cpan_mail.data');HTML::Mail is supposed to help with the task of sending emails with HTML and images (or other media) embedded or externally linked. It uses MIME::Lite for all MIME related jobs, HTML::Parser to find related files and change the URIs and LWP::UserAgent to retrieve the related files.Email can be 'multipart/alternative' if both HTML and Text content exist and 'multipart/related' if there is only HTML content.If all you want is to send text-only email, you probably won't find this module useful at all, or at best a huge overkill. Requirements: · Perl


HTML::Mail Related Software