summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-30 12:08:41 +0000
committeralecpl <alec@alec.pl>2010-08-30 12:08:41 +0000
commit1d8cbca2720171a2f0fe07ec7f34a5c637fae38e (patch)
treea5b76ab393f65d1a6c6bd38086ce35fd6ac6968f /program/steps/mail/sendmail.inc
parent01538da5801d425e32121865a0bcbb28c539aa81 (diff)
- Use host FQDN in Message-Id, if possible (#1486924)
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 300bea019..23ff571b2 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -205,7 +205,7 @@ function rcmail_email_input_format($mailto, $count=false)
if (strlen($_POST['_draft_saveid']) > 3)
$olddraftmessageid = get_input_value('_draft_saveid', RCUBE_INPUT_POST);
-$message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.mt_rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host']));
+$message_id = rcmail_gen_message_id();
// set default charset
$input_charset = $OUTPUT->get_charset();