1
0

Enable SSL support.

This commit is contained in:
rWatcher 2011-04-25 19:57:45 -04:00
parent cb174b20aa
commit 54339a22ca
2 changed files with 12 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {