|
Folks,
HTML::Template has preformed above and beyond all
my expectations when it comes to serving user content from our
site.
I currently have a bunch of reporting that happens
on a daily basis which is mailed off to specific people in a HTML
report.
I'd like to take advantage of some of the HT
features (like loops) to create the emails instead of doing everything in perl
and then simply replacing it.
Looking at the docs - would the below
work?
my $email_message = HTML::Template->new( filehandle => *FH,
some_loop
=> [EMAIL PROTECTED],
some_val
=> $someval,
some_if
=> 1,
);
&send_email($email_message);
I know I should just try it and see what happens,
but I also wanted to see if anyone had a better suggestion on creating HTML
emails.
Thanks
-Chris
|
- Re: [htmltmpl] Using HT to create HTML Email Chris Faust
- Re: [htmltmpl] Using HT to create HTML Email Jason Purdy
- Re: [htmltmpl] Using HT to create HTML Email Chris Faust
