Have a look at the various template engines available at CPAN. Separate HTML and code. Depending on the template engine, you may get HTML escaping for free.
Alexander
In reply to Re: Using Sendmail - how can I active use defined variables in the Message Body
by afoken
in thread Using Sendmail - how can I active use defined variables in the Message Body
by CoffeeDuke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |