mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 07:44:50 +00:00
Cron mail queue - fix $config_smtp_encryption being set to None in IF statement
This commit is contained in:
@@ -705,7 +705,7 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
|
|||||||
$mail->SMTPAuth = $smtp_auth; // Enable SMTP authentication
|
$mail->SMTPAuth = $smtp_auth; // Enable SMTP authentication
|
||||||
$mail->Username = $config_smtp_username; // SMTP username
|
$mail->Username = $config_smtp_username; // SMTP username
|
||||||
$mail->Password = $config_smtp_password; // SMTP password
|
$mail->Password = $config_smtp_password; // SMTP password
|
||||||
if ($config_smtp_encryption = 'None') {
|
if ($config_smtp_encryption == 'None') {
|
||||||
$mail->SMTPOptions = array(
|
$mail->SMTPOptions = array(
|
||||||
'ssl' => array(
|
'ssl' => array(
|
||||||
'verify_peer' => false,
|
'verify_peer' => false,
|
||||||
|
|||||||
Reference in New Issue
Block a user