I have a stats program which runs on log files via cron. The stats program can output HTML.
Right now I rely on the MAIL_TO mechanism in the crontab.
[email protected] 55 23 * * * /usr/bin/htmlstats
The problem is that I want the email sent to display as HTML and not as plain text.
Cron places the following header in the email:
Content-Type: text/plain; charset="UTF-8"
Any idea how I would change this to:
Content-Type: text/html; charset="UTF-8"