From 18cb7eb799ecac2780200bd3428bfb4708fe5cb5 Mon Sep 17 00:00:00 2001 From: camer0n Date: Tue, 25 Feb 2025 11:22:02 -0800 Subject: [PATCH] Closes #4123, Closes #5355 - Mailer pref issue. --- e107_admin/mailout.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e107_admin/mailout.php b/e107_admin/mailout.php index 0aea0505c..e6365c175 100644 --- a/e107_admin/mailout.php +++ b/e107_admin/mailout.php @@ -1465,8 +1465,10 @@ class mailout_main_ui extends e_admin_ui $bounceOpts = array('none' => LAN_MAILOUT_232, 'auto' => LAN_MAILOUT_233, 'mail' => LAN_MAILOUT_234); unset($temp); - if (!in_array($_POST['mailer'], array('smtp', 'sendmail', 'php'))) $_POST['mailer'] = 'php'; - $temp['mailer'] = $_POST['mailer']; + + //if (!in_array($_POST['mailer'], array('smtp', 'sendmail', 'php'))) $_POST['mailer'] = 'php'; + //$temp['mailer'] = $_POST['mailer']; + // Allow qmail as an option as well - works much as sendmail if ((strpos($_POST['sendmail'],'sendmail') !== FALSE) || (strpos($_POST['sendmail'],'qmail') !== FALSE)) {