summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'];