Merge d5c3e36432
into 21dfc71623
commit
5eaf7c98b6
|
@ -462,6 +462,7 @@ function psm_build_mail($from_name = null, $from_email = null) {
|
||||||
|
|
||||||
if($smtp_user != '' && $smtp_pass != '') {
|
if($smtp_user != '' && $smtp_pass != '') {
|
||||||
$phpmailer->SMTPAuth = true;
|
$phpmailer->SMTPAuth = true;
|
||||||
|
$phpmailer->SMTPSecure = "tls";
|
||||||
$phpmailer->Username = $smtp_user;
|
$phpmailer->Username = $smtp_user;
|
||||||
$phpmailer->Password = $smtp_pass;
|
$phpmailer->Password = $smtp_pass;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue