Skip to content
Snippets Groups Projects
Commit 7b378e21 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #1728 change var smtp_auth

parent f60051db
No related branches found
No related tags found
No related merge requests found
......@@ -42,12 +42,11 @@ while ($state <> 'END') {
if($currentEmail < $totalEmailsToProcess) {
$email = $GLOBALS['emails'][$currentEmail];
$GLOBALS['mailer'] = new htmlMimeMail();
if($mailerParams->smtp_auth === "true") $smtp_auth = true;
$GLOBALS['mailer']->setSMTPParams(
$host = (string)$mailerParams->smtp_host,
$port = (string)$mailerParams->smtp_port,
$helo = (string)$mailerParams->domains,
$auth = $smtp_auth,
$auth = filter_var($mailerParams->smtp_auth, FILTER_VALIDATE_BOOLEAN),
$user = (string)$mailerParams->smtp_user,
$pass = (string)$mailerParams->smtp_password
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment