Lines Matching refs:mail
352 FILE *mail = NULL; in child_process() local
392 if (!(mail = cron_popen(mailcmd, "w", e->pwd, in child_process()
398 fprintf(mail, "From: root (Cron Daemon)\n"); in child_process()
399 fprintf(mail, "To: %s\n", mailto); in child_process()
400 fprintf(mail, "Subject: Cron <%s@%s> %s\n", in child_process()
403 fprintf(mail, "Auto-Submitted: auto-generated\n"); in child_process()
405 fprintf(mail, "X-Cron-Env: <%s>\n", in child_process()
407 fprintf(mail, "\n"); in child_process()
411 fputc(ch, mail); in child_process()
421 if (mail) in child_process()
422 fputc(ch, mail); in child_process()
442 && mail) { in child_process()
444 (void)fclose(mail); in child_process()
445 mail = NULL; in child_process()
449 if (mail) { in child_process()
456 status = cron_pclose(mail, mailpid); in child_process()
463 if (mail && status) { in child_process()