From badbf67a7557a5fb27fb8b62d7365028ae9e5330 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 17 Sep 2006 20:58:16 +0000 Subject: [PATCH] Effectively send mails --- src/compose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose.c b/src/compose.c index 884d207..d9a4dd0 100644 --- a/src/compose.c +++ b/src/compose.c @@ -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 */