Can cron e-mail HTML?
mi+kde at aldan.algebra.com
Sat Jul 14 22:21:19 UTC 2007
= To accomplish this I have my cron job run a script like this
Sorry, I missed the most important part. Your script just uses /usr/bin/mail,
the same way cron does. You are not adding anything, not already present in
cron -- your script should simply produce output to stdout. Cron will mail
all that to the address specified in MAILTO=... part of your crontab
AFAIK, to make the e-mail message treated as a MIME one, the "MIME-Version:
1.0" and "Content-Type: ..." have to be among _headers_.
I'm afraid, it is not possible to directly manipulate the message's headers
using mail(1), which is why I asked my question in the first place...
More information about the freebsd-questions