From b65a57eafe670d1550f663704ec100a5fe719bef Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 12 Sep 2018 14:05:13 +0000 Subject: [PATCH] Stream options were forgot here git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14774 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1