Bod has asked for the wisdom of the Perl Monks concerning the following question:
Ever since asking To Framework or not to Framework, I have used Template for everything that needs anything more than a minute amount of output. Web pages, reports, forms, etc. Using Template has made development much quicker and maintenance much simpler.
But the one place I don't use a templating system is email.
Well I do - of sorts. I have an HTML file that my script reads in, substitutes some bits of text before passing it to MIME::Lite to be sent out. This works but does mean having the template processing code embedded in my script or me reinventing it in a module.
So, what do you recommend to a user of Template for email templating?
I have looked at MIME::Lite::TT::HTML but notice that it hasn't been updated for 14 years. There is also Email::Template.
Do you have any recommendations for these or another templating module for emails?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Templating emails
by Fletch (Bishop) on Jul 02, 2021 at 17:01 UTC | |
by Bod (Parson) on Jul 02, 2021 at 17:31 UTC | |
by Fletch (Bishop) on Jul 02, 2021 at 18:19 UTC | |
|
Re: Templating emails
by Perlbotics (Archbishop) on Jul 02, 2021 at 17:37 UTC |