summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-06 07:53:16 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-06 07:53:16 +0000
commit27ac575ce817d0db1c5c7b9c6c6de41010f901f7 (patch)
treeefc5ffe74c45c5333c8311900d46adf0377e34b9
parentf181103181616718cd00cbc5793e633cf7baafad (diff)
#1484966: place Message-Id below Received header
git-svn-id: https://svn.roundcube.net/trunk@1261 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index ddd3ea897..5466d710c 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/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'];