From: Tomas Mraz Date: Tue, 18 Apr 2017 07:46:02 +0000 (+0200) Subject: Add MIME-Version header to generated mails. X-Git-Tag: cronie-1.5.2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6b842fc69f65ce2be9ecb003df2e2aa8fec62e0;p=cronie Add MIME-Version header to generated mails. Fixes GitHub issue #5. --- diff --git a/src/do_command.c b/src/do_command.c index dafa6ec..ce80403 100644 --- a/src/do_command.c +++ b/src/do_command.c @@ -449,6 +449,7 @@ static int child_process(entry * e, char **jobenv) { #ifdef MAIL_DATE fprintf(mail, "Date: %s\n", arpadate(&StartTime)); #endif /*MAIL_DATE */ + fprintf(mail, "MIME-Version: 1.0\n"); if (content_type == 0L) { fprintf(mail, "Content-Type: text/plain; charset=%s\n", cron_default_mail_charset);