1
0
Fork 0

remove ssl login from mailclient

master
Chris 2021-01-08 02:32:07 +01:00
parent 9d175cba62
commit e41fe21c98
1 changed files with 2 additions and 5 deletions

View File

@ -52,11 +52,8 @@
$mail->SMTPDebug = SMTP::DEBUG_SERVER; $mail->SMTPDebug = SMTP::DEBUG_SERVER;
$mail->isSMTP(); $mail->isSMTP();
$mail->Host = $RUNTIME['SMTP']['SERVER']; $mail->Host = $RUNTIME['SMTP']['SERVER'];
$mail->SMTPAuth = true;
$mail->Username = $RUNTIME['SMTP']['USER'];
$mail->Password = $RUNTIME['SMTP']['PASS'];
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$mail->Port = $RUNTIME['SMTP']['PORT']; $mail->Port = $RUNTIME['SMTP']['PORT'];
$mail->SMTPAuth = false;
$mail->setFrom($RUNTIME['SMTP']['ADRESS'], $RUNTIME['GRID']['NAME']); $mail->setFrom($RUNTIME['SMTP']['ADRESS'], $RUNTIME['GRID']['NAME']);
$mail->addAddress($email, $RUNTIME['OPENSIM']->getUserName($row['PrincipalID'])); $mail->addAddress($email, $RUNTIME['OPENSIM']->getUserName($row['PrincipalID']));