mirror of https://github.com/itflow-org/itflow
Cron mail queue - fix $config_smtp_encryption being set to None in IF statement
This commit is contained in:
parent
c486682a0e
commit
40eb40fd86
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue