Re: Sending HTML files via e-mail

2008-06-25 Thread Randal L. Schwartz
> "btna" == btna <[EMAIL PROTECTED]> writes: btna> I am trying to write a simple Perl script that will accept the HTML btna> file as one argument and then send an e-mail with the HTML file. Is there *any* way I can convince you that HTML is not email? -- Randal L. Schwartz - Stonehenge Con

Re: Sending HTML files via e-mail

2008-06-24 Thread Gunnar Hjalmarsson
btna wrote: I am trying to write a simple Perl script that will accept the HTML file as one argument and then send an e-mail with the HTML file. Do not multi-post, please!! http://groups.google.com/group/comp.lang.perl.misc/browse_frm/thread/a3d9531beb61d6e9 -- Gunnar Hjalmarsson Email: http:/

Re: Sending HTML files via e-mail

2008-06-24 Thread David Romero
Use the Mail::Sender Module, this is part of the Mail::Sender documentation open IN, $htmlfile or die "Cannot open $htmlfile : $!\n"; $sender->Open({ from => '[EMAIL PROTECTED]', to => '[EMAIL PROTECTED]', subject => 'HTML test', ctype => "text/html", encoding => "7bit" }

Sending HTML files via e-mail

2008-06-24 Thread btna
Hi all, I am trying to write a simple Perl script that will accept the HTML file as one argument and then send an e-mail with the HTML file. I don't want the HTML file attached to the e-mail but to be part of the body of the e-mail. In other words, I need the HTML file that I am sending to be the