diff --git a/cron/offlineIM.php b/cron/offlineIM.php index 37af13f..50c4aa9 100644 --- a/cron/offlineIM.php +++ b/cron/offlineIM.php @@ -52,11 +52,8 @@ $mail->SMTPDebug = SMTP::DEBUG_SERVER; $mail->isSMTP(); $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->addAddress($email, $RUNTIME['OPENSIM']->getUserName($row['PrincipalID']));