535 5.7.139 Authentication unsuccessful, basic authentication is disabled
Hallo zusammen,
ich habe hier ein Formular-Sendeproblem.
Das Formular ist erstmal nur ein ganz kleiner Test (Name, E-Mail, Nachricht, Sicherheitsfrage, Sendebutton).
Die SMTP-Daten, die wir vom Kunden haben sind folgende:
Code:
mailer_transport: smtp
mailer_host: smtp-mail.outlook.com
mailer_user: xxxxx@outlook.de
mailer_password: Passwort
mailer_port: 587
mailer_encryption: tls
Das Formular geht nicht durch und wirft den Fehler in var logs:
Code:
[2024-11-12 09:27:11] request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Failed to authenticate on SMTP server with username "xxxx@outlook.de" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [FR0P281CA0194.DEUP281.PROD.OUTLOOK.COM 2024-11-12T08:27:06.704Z 08DD02A99BC441ED] "." at /var/www/clients/client3/web343/web/v1/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php line 191 {"exception":"[object] (Swift_TransportException(code: 0): Failed to authenticate on SMTP server with username \"xxxx@outlook.de\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [FR0P281CA0194.DEUP281.PROD.OUTLOOK.COM 2024-11-12T08:27:06.704Z 08DD02A99BC441ED]\r\n\". at /var/www/clients/client3/web343/web/v1/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191)"} []
Ich möchte jetzt herausfinden, ob der Fehler in der outlook-Konfiguration beim Kunden liegt oder ob ich etwas ändern muss.
Passwort und Username sind natürlich doppelt gecheckt.
Da ich nicht so der Mail/Outlook Profi bin und der Kunde leider auch nicht, geht die Frage in die Community, ob etwas Licht ins Dunkel gebracht werden kann.
Viele Grüße,
conter