Lines Matching refs:mail
400 FILE *mail = NULL;
427 * up the mail command and subjects and stuff...
443 if (!(mail = cron_popen(mailcmd, "w", e->pwd))) {
447 (void)fprintf(mail,
449 (void)fprintf(mail, "To: %s\n", mailto);
450 (void)fprintf(mail,
453 (void)fprintf(mail,
456 (void)fprintf(mail, "Date: %s\n",
460 (void)fprintf(mail,
462 (void)fprintf(mail, "\n");
466 (void)putc(ch, mail);
470 * we mail or not, but obviously we only write to
471 * mail pipe if we ARE mailing.
477 (void)putc(ch, mail);
485 Debug(DPROC, ("[%ld] closing pipe to mail\n",
489 * in addition to the mail process, since
493 status = cron_pclose(mail);
496 /* if there was output and we could not mail it,
530 ("[%ld] no more grandchildren--mail written?\n",