Ignore:
Timestamp:
Jun 14, 2008 8:23:08 AM (5 years ago)
Author:
thomasb
Message:

More code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/sendmail.inc

    r1344 r1532  
    114114  $olddraftmessageid = get_input_value('_draft_saveid', RCUBE_INPUT_POST); 
    115115 
    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'])); 
    117117$savedraft = !empty($_POST['_draft']) ? TRUE : FALSE; 
    118118 
     
    208208if ($CONFIG['http_received_header']) 
    209209{ 
    210   $nldlm = rcmail_header_delm() . "\t"; 
     210  $nldlm = $RCMAIL->config->header_delimiter() . "\t"; 
    211211  $headers['Received'] =  wordwrap('from ' . (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? 
    212212      gethostbyaddr($_SERVER['HTTP_X_FORWARDED_FOR']).' ['.$_SERVER['HTTP_X_FORWARDED_FOR'].']'.$nldlm.' via ' : '') . 
     
    233233 
    234234// 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()); 
    236236 
    237237// For HTML-formatted messages, construct the MIME message with both 
Note: See TracChangeset for help on using the changeset viewer.