Hi,

User-ID on CPAN: ALIAN
DSLI: bmpO

NAME

MIME::Lite::HTML : Provide routine to transform a HTML page in a
MIME::Lite mail

SYNOPIS

  use MIME::Lite;
  use MIME::Lite::HTML;
  
  my $mailHTML = new MIME::Lite::HTML
        From    => '[EMAIL PROTECTED]',
        To      => 'alian@jupiter',
        Subject => 'Mail in HTML with images';
        
  $MIMEmail = $mailHTML->parse('http://www.alianwebserver.com');
  $MIMEmail->send; 
  # or for win user: 
  $mail->send_by_smtp('smtp.fai.com');

DESCRIPTION

This module provide routine to transform a HTML page in MIME::Lite mail. 
The job done is:

 + Get the file (LWP)
 + Parse page to find include images
 + Attach them to mail with adequat cid
 + Include external CSS,Javascript file
 + Replace relative url with absolute one

It can be used by example in a HTML newsletter. You make a classic HTML
page, 
and give just url to MIME::Lite::HTML.

About the namespace and job:
I talk with author of MIME::Lite, it would be ok.

Put on UPLOAD server as
$CPAN/authors/id/A/AL/ALIAN/MIME-Lite-HTML-0.3.tar.gz

Regards,
--
Alain BARBET

Reply via email to