Merge branch 'develop' of https://github.com/phpservermon/phpservermon into develop

This commit is contained in:
larsec 2021-06-20 15:38:23 +02:00
commit 077c276809
1 changed files with 3 additions and 1 deletions

View File

@ -603,7 +603,9 @@ namespace {
$phpmailer->Host = psm_get_conf('email_smtp_host');
$phpmailer->Port = (int)psm_get_conf('email_smtp_port');
$phpmailer->SMTPSecure = psm_get_conf('email_smtp_security');
if (psm_get_conf('email_smtp_security') == ''){
$phpmailer->SMTPAutoTLS = false;
}
$smtp_user = psm_get_conf('email_smtp_username');
$smtp_pass = psm_password_decrypt(
psm_get_conf('password_encrypt_key'),