summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-09-01 13:53:23 +0000
committerthomascube <thomas@roundcube.net>2006-09-01 13:53:23 +0000
commit8cb245c2787fbcb7786349bfbc2379a51c73f8e6 (patch)
tree0e7e07a550734fe0c32406e583f444b1f0d41ff2 /program/steps
parent3ea0e3202a73eb7efcbf0b825582a6d3504658aa (diff)
Correct creation of a message-id
Diffstat (limited to 'program/steps')
-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 30d59dbe3..375fc92d9 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -66,7 +66,7 @@ function rcmail_get_identity($id)
if (strlen($_POST['_draft_saveid']) > 3)
$olddraftmessageid = get_input_value('_draft_saveid', RCUBE_INPUT_POST);
-$message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.rand(),true)), $_SESSION['imap_host']);
+$message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.rand(),true)), rcmail_mail_domain($_SESSION['imap_host']));
$savedraft = !empty($_POST['_draft']) ? TRUE : FALSE;
// remove all scripts and act as called in frame