From: pdontthink Date: Wed, 12 Sep 2018 14:05:13 +0000 (+0000) Subject: Stream options were forgot here X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b65a57eafe670d1550f663704ec100a5fe719bef;p=squirrelmail.git Stream options were forgot here git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14774 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/compose.php b/functions/compose.php index 6d5e3079..e56244b1 100644 --- a/functions/compose.php +++ b/functions/compose.php @@ -131,7 +131,7 @@ function sq_send_mail($to, $subject, $body, $from, $cc='', $bcc='', $message='') require_once(SM_PATH . 'class/deliver/Deliver_SMTP.class.php'); $deliver = new Deliver_SMTP(); global $smtpServerAddress, $smtpPort, $pop_before_smtp, - $domain, $pop_before_smtp_host; + $domain, $pop_before_smtp_host, $smtp_stream_options; $authPop = (isset($pop_before_smtp) && $pop_before_smtp) ? true : false; if (empty($pop_before_smtp_host)) $pop_before_smtp_host = $smtpServerAddress; @@ -139,7 +139,7 @@ function sq_send_mail($to, $subject, $body, $from, $cc='', $bcc='', $message='') $pass = ''; get_smtp_user($user, $pass); $stream = $deliver->initStream($message,$domain,0, - $smtpServerAddress, $smtpPort, $user, $pass, $authPop, $pop_before_smtp_host); + $smtpServerAddress, $smtpPort, $user, $pass, $authPop, $pop_before_smtp_host, $smtp_stream_options); } else { require_once(SM_PATH . 'class/deliver/Deliver_SendMail.class.php'); global $sendmail_path, $sendmail_args;