From: Michael Elkins Date: Sun, 4 Jan 2004 10:03:46 +0000 (+0000) Subject: Fix #1488 (Debian#1882526): Honor Reply-To while generating X-Git-Tag: mutt-1-5-6-rel~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a590f7f9adae9eca4051d654eb3e9650a12251f;p=mutt Fix #1488 (Debian#1882526): Honor Reply-To while generating Mail-Followup-To headers. --- diff --git a/send.c b/send.c index b2d7c3c2..a7bb2c9c 100644 --- a/send.c +++ b/send.c @@ -859,7 +859,9 @@ void mutt_set_followup_to (ENVELOPE *e) if (e->mail_followup_to && !mutt_is_list_recipient (0, e->to, e->cc)) { - if (e->from) + if (e->reply_to) + from = rfc822_cpy_adr (e->reply_to); + else if (e->from) from = rfc822_cpy_adr (e->from); else from = mutt_default_from ();