Re: [htmltmpl] using html::template for mail merge? pointers anyone?
Brought to you by:
samtregar
From: Andrew J. <an...@li...> - 2002-07-07 09:32:40
|
Zachary Buckholz wrote: > Does anyone have any pointers on the best way to utilize HTML::Template > and a mail merge module? > > I finished my initial project http://www.securitysaint.com using > HTML::Template and CGI::Application but I want to build onto it by > sending weekly status emails to the users giving them stats for their > websites in a nice HTML table. You can see an example of what I am > trying to do here: http://www.securitysaint.com/stats_example.html > > I already wrote the SQL queries I want to run and have pseudo code for > the application but the actual part of sending a HTML message is what I > am focusing on now. > > I would like to be able to build a template just like I do for the > website, then have a perl script read the template, fill in the data and > send it off. > > Has anyone used HTML::Template with a mail merge app? Can you provide > any pointers? > I did this with MIME::Lite a while back. Filling in a text file or HTML page without images was easy, but HTML w/images was a bit tricky. But I now see that MIME::Lite::HTML has been created to handle exactly that. Both of these modules are (of course) available on CPAN. |