[htmltmpl] Using HTML::Template
Brought to you by:
samtregar
From: J C <jsh...@ya...> - 2004-03-04 20:17:56
|
I need to be able to do the following with a Perl script and send out emails via HTML or text (if they don't want HTML emails): I need to read in a file that would contain information like (customer id, first name, last name, address, etc.) I really don't want the HTML tags in the Perl script. I'll be sending different email messages, so I would prefer separate HTML files/templates--not sure how to do this. I also need to be able to include images. For example, one email might read: Dear <first name><last name>, Thank you for blah blah blah. Another <variable>. Another one might be: The following information is on file: <first name><last name> <address> Blah blah blah Is HTML::Template the best way to do this? Does it still work if I need a text version. Thank you very much! --------------------------------- Do you Yahoo!? Yahoo! Search - Find what youre looking for faster. |