Hallo,
Möchte für die Kommentarfunktion die SMTP Einstellungen für eine *@gmail.com Mailadresse verwenden:
https://www.wahl-kanzlei.de/details/...eren-sich.html
FRAGE 1
Laut Suchmaschine mussen diese eingetragen werden in:
config/parameters.yml
Laut CONTAO Handbuch in:
config/config.yml
Was stimmt ?
FRAGE 2
Über das Formular für die Konvertierung der Zugangsdaten habe ich den Eintrag erstellt (Angaben anonymisiert)
Code:#Allgemeine Definition der SMTP- Einstellungen framework: mailer: transports: standard: smtps://test.test%%40gmail.com:testtesttest@smtp.gmail.com:465 contao: mailer: transports: standard: ~
Vieles getestet:
- Kennwort mit/ ohne Codierung eingetragen
- standard: smtps: ... / standard: smtp:
- Konto in Thunderbird eingerichtet... Test funktioniert
Doch immer wieder kommt in der error Log ein Hinweis zu falschen Zugangsdaten
Code:[2025-08-05T12:55:26.892225+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Mailer\Exception\TransportException: "Failed to authenticate on SMTP server with username "checkmail.test@gmail.com" using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials 00721157ae682-71b5a5993eesm32092077b3.42 - gsmtp".". Authenticator "PLAIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials 00721157ae682-71b5a5993eesm32092077b3.42 - gsmtp".". Authenticator "XOAUTH2" returned "Expected response code "235" but got code "334", with message "334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ=="."." at /var/www/vhosts/wahl-kanzlei.de/httpdocs/website/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php line 198 {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\TransportException(code: 0): Failed to authenticate on SMTP server with username \"checkmail.test@gmail.com\" using the following authenticators: \"LOGIN\", \"PLAIN\", \"XOAUTH2\". Authenticator \"LOGIN\" returned \"Expected response code \"235\" but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. For more information, go to\r\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials 00721157ae682-71b5a5993eesm32092077b3.42 - gsmtp\".\". Authenticator \"PLAIN\" returned \"Expected response code \"235\" but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. For more information, go to\r\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials 00721157ae682-71b5a5993eesm32092077b3.42 - gsmtp\".\". Authenticator \"XOAUTH2\" returned \"Expected response code \"235\" but got code \"334\", with message \"334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==\".\". at /var/www/vhosts/wahl-kanzlei.de/httpdocs/website/vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php:198)"} []
Was habe ich übersehen ?
Vielen Dank für Hinweise

Zitieren
Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.