From 53e79dfa0ce27b412d031f99db02685c6e599256 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 6 Apr 2008 07:53:16 +0000 Subject: #1484966: place Message-Id below Received header --- program/steps/mail/sendmail.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index ddd3ea897..5466d710c 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -210,9 +210,6 @@ if (!empty($_POST['_receipt'])) } // additional headers -$headers['Message-ID'] = $message_id; -$headers['X-Sender'] = $from; - if ($CONFIG['http_received_header']) { $nldlm = rcmail_header_delm() . "\t"; @@ -223,6 +220,9 @@ if ($CONFIG['http_received_header']) 69, $nldlm); } +$headers['Message-ID'] = $message_id; +$headers['X-Sender'] = $from; + if (!empty($CONFIG['useragent'])) $headers['User-Agent'] = $CONFIG['useragent']; -- cgit v1.2.3