Can cron e-mail HTML?

Mikhail Teterin mi+kde at
Sun Jul 15 15:54:23 UTC 2007

On неділя 15 липень 2007, Daniel Bye wrote:
= Is /usr/share/misc/magic.mime of any use? Apparently it is consulted by
= file(1) when called with -i. According to libmagic(3), magic_open() with
= the MAGIC_MIME flag should do the same.

Yes, indeed -- just the ticket... Thanks.

Now, I have not received any e-mails from the cron modified as per the
linked patch yet, but if anyone cares to review it, please, do so. It 
compiles :-)

It increases the application's buffering of the job's output from 1 character 
to BUFSIZ and, if requested, passes the first thus-read buffer to 

If that succeeds, the Mime-Version and Content-Type headers are injected into 
the outgoing e-mail...


More information about the freebsd-questions mailing list