SMTP TLS auth - for example Amazon SES

This commit is contained in:
missura 2014-08-26 01:25:37 +02:00
parent 16906708ad
commit d5c3e36432
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}