Re: Sending HTML files via mail

2008-06-25 Thread Francisco Valladolid
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

Re: Sending HTML files via mail

2008-06-25 Thread Jeff Peng
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

RE: Sending HTML files via mail

2008-06-25 Thread Bob McConnell
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