Enable SSL support.
This commit is contained in:
parent
cb174b20aa
commit
54339a22ca
|
@ -102,9 +102,13 @@ class Sendmail_Core {
|
|||
|
||||
$mail->IsSMTP();
|
||||
$mail->Host = module::get_var("phpmailer", "smtp_server");
|
||||
$mail->Port = module::get_var("phpmailer", "smtp_port");
|
||||
|
||||
if (module::get_var("phpmailer", "smtp_login") != "") {
|
||||
$mail->SMTPAuth = true;
|
||||
if (module::get_var("phpmailer", "use_ssl") == true) {
|
||||
$mail->SMTPSecure = "ssl";
|
||||
}
|
||||
$mail->Username = module::get_var("phpmailer", "smtp_login");
|
||||
$mail->Password = module::get_var("phpmailer", "smtp_password");
|
||||
} else {
|
||||
|
|
|
@ -102,9 +102,13 @@ class Sendmail_Core {
|
|||
|
||||
$mail->IsSMTP();
|
||||
$mail->Host = module::get_var("phpmailer", "smtp_server");
|
||||
$mail->Port = module::get_var("phpmailer", "smtp_port");
|
||||
|
||||
if (module::get_var("phpmailer", "smtp_login") != "") {
|
||||
$mail->SMTPAuth = true;
|
||||
if (module::get_var("phpmailer", "use_ssl") == true) {
|
||||
$mail->SMTPSecure = "ssl";
|
||||
}
|
||||
$mail->Username = module::get_var("phpmailer", "smtp_login");
|
||||
$mail->Password = module::get_var("phpmailer", "smtp_password");
|
||||
} else {
|
||||
|
|
Reference in New Issue
Block a user