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!