in reply to Formatting a MAil in PERL
The same "template" modules that are often used to format web-pages can also be used to format e-mail content, and many of the previously-mentioned mail packages support this notion directly, so that your Perl programming does not have to be changed if every time the e-mails do.
Re^2: Formatting a MAil in PERL
by Anonymous Monk on May 29, 2018 at 14:35 UTC
|
Design your application from the very start so that content editors can devise new e-mails and change their content just by editing template files, which you read from a designated location separate from your program. Your software "renders the template" to produce the content that is then e-mailed. It generates a list of values which the editors can use in the templates. | [reply] |
|