From d5c3e364323d8453cc2ac6a4a41311a2cc9f5e76 Mon Sep 17 00:00:00 2001 From: missura Date: Tue, 26 Aug 2014 01:25:37 +0200 Subject: [PATCH] SMTP TLS auth - for example Amazon SES --- src/includes/functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/includes/functions.inc.php b/src/includes/functions.inc.php index 829de923..9492a3db 100644 --- a/src/includes/functions.inc.php +++ b/src/includes/functions.inc.php @@ -400,6 +400,7 @@ function psm_build_mail($from_name = null, $from_email = null) { if($smtp_user != '' && $smtp_pass != '') { $phpmailer->SMTPAuth = true; + $phpmailer->SMTPSecure = "tls"; $phpmailer->Username = $smtp_user; $phpmailer->Password = $smtp_pass; }