Changeset 1532 in subversion for trunk/roundcubemail/program/steps/mail/sendmail.inc
- Timestamp:
- Jun 14, 2008 8:23:08 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/sendmail.inc
r1344 r1532 114 114 $olddraftmessageid = get_input_value('_draft_saveid', RCUBE_INPUT_POST); 115 115 116 $message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.rand(),true)), rcmail_mail_domain($_SESSION['imap_host']));116 $message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host'])); 117 117 $savedraft = !empty($_POST['_draft']) ? TRUE : FALSE; 118 118 … … 208 208 if ($CONFIG['http_received_header']) 209 209 { 210 $nldlm = rcmail_header_delm() . "\t";210 $nldlm = $RCMAIL->config->header_delimiter() . "\t"; 211 211 $headers['Received'] = wordwrap('from ' . (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? 212 212 gethostbyaddr($_SERVER['HTTP_X_FORWARDED_FOR']).' ['.$_SERVER['HTTP_X_FORWARDED_FOR'].']'.$nldlm.' via ' : '') . … … 233 233 234 234 // create extended PEAR::Mail_mime instance 235 $MAIL_MIME = new rcube_mail_mime( rcmail_header_delm());235 $MAIL_MIME = new rcube_mail_mime($RCMAIL->config->header_delimiter()); 236 236 237 237 // For HTML-formatted messages, construct the MIME message with both
Note: See TracChangeset
for help on using the changeset viewer.
