summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-06 07:53:16 +0000
committeralecpl <alec@alec.pl>2008-04-06 07:53:16 +0000
commit53e79dfa0ce27b412d031f99db02685c6e599256 (patch)
treef3631aa7298e8fde9ee386937a2393e763940098 /program/steps
parentc0dc9072c142c4e8b70bc5545f24f6946d89a960 (diff)
#1484966: place Message-Id below Received header
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/sendmail.inc6
1 files changed, 3 insertions, 3 deletions
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'];