in reply to Re: How to process html script with perl
in thread How to process html script with perl
$msg = MIME::Lite->new( To =>$ToEmail, From =>$FromName, Subject =>$Subject, Type =>'multipart/related' ); $msg->attach( ############################## # Called HTML script here... # ############################## {open (my $fh,"<","sample.html" ) or die $!; local $/ +=undef; <$fh>} ); $msg->attach( Type => 'image/gif', Id => "$Attachment", Path => "$Attachment" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to process html script with perl
by thomas895 (Deacon) on Oct 30, 2012 at 06:51 UTC |