From 71acd850cbdfe12569d4f8a506c04057c7a1fc2e Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 22 Feb 2014 22:08:10 +0000 Subject: Cannot send insecure SMTP mail --- library/WT/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/WT/Mail.php b/library/WT/Mail.php index 2737121dbd..43ef339269 100644 --- a/library/WT/Mail.php +++ b/library/WT/Mail.php @@ -84,7 +84,7 @@ class WT_Mail { $config['username'] = WT_Site::preference('SMTP_AUTH_USER'); $config['password'] = WT_Site::preference('SMTP_AUTH_PASS'); } - if (WT_Site::preference('SMTP_SSL')) { + if (WT_Site::preference('SMTP_SSL') !== 'none') { $config['ssl'] = WT_Site::preference('SMTP_SSL'); } -- cgit v1.3