remove ssl login from mailclient
parent
9d175cba62
commit
e41fe21c98
|
@ -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']));
|
||||||
|
|
Loading…
Reference in New Issue