Effectively send mails

This commit is contained in:
Pierre Pronchery 2006-09-17 20:58:16 +00:00
parent b57cc43b9d
commit badbf67a75

View File

@ -236,7 +236,7 @@ static int _send_mail(Compose * compose, char * msg, size_t msg_len)
{
close(0);
dup2(fd[0], 0);
execl("sendmail", "/usr/sbin/sendmail", "-bm", NULL);
execl("/usr/sbin/sendmail", "sendmail", "-bm", "-t", NULL);
exit(2);
}
/* FIXME send mail progressively, get sendmail's output */