Hi.
While I has doing a similar script, I found MIME::Lite::HTML (
http://search.cpan.org/~alian/MIME-Lite-HTML-1.22/HTML.pm ) and
MIME::Lite::TT::HTML
http://search.cpan.org/~chunzi/MIME-Lite-TT-HTML-0.04/lib/MIME/Lite/TT/HTML.pm
both modules look fine for this purpose.
Regards,
On Tue, Jun 2
I once used this script for sending a html message.
Wish it help to you too.
sub sendmail {
my $to = shift;
my $msg = MIME::Lite->new(
From=> "$sender_name <$sender_email>",
To => $to,
Subject => $subject,
Type=> 'text/html',
Encoding
From: btna
> Hi all,
>
> I am very new to Perl. I have a HTML file that I need to send via mail
> but I don't want the attachment. I want the HTML file to be displayed
> in the mail when the mail is received. In other words, the HTML file
> becomes the content of the mail.
Why do you want to sen