I have a script launched from cron every morning, that gets certain data over 
the Internet from a remote computer, compares the new data with that from the 
previous day, and outputs the difference (if any).

I'm relying on the fact, that cron e-mails me the output of each job.

However, I modified the script recently to produce the output (if any) in 
HTML, rather than in plain-text format.

The HTML arrives by e-mail just as well as plain text used to, but no e-mail 
program will render it as such, because neither the cron(8), nor the mail(1),
which cron uses to send e-mail, creates MIME messages...

How can I force the ``Content-Type: text/html'' header without hacking cron's 
sources? I'd rather avoid poluting my script with e-mail sending code...

Maybe, cron should apply file(1)-like logic to the e-mailed content?

Thanks for any hints. Yours,

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to