Verwendung: Kontaktformular funktioniert nicht

michael.wiegaertner's Avatar

michael.wiegaertner

16 Jul, 2020 08:06 AM

Produkt: Oneo Contao
Contao-Version: 4.9
Browser und Browserversionen: alle

Hallo,

ich bin gerade dabei eine alte Website (Conto 3.5) auf unser neues System (Contao 4.9) umzuziehen. Ich habe das Kontoktformular 1zu1 nachgebaut, bekomme aber auf der 4.9 folgende Fehler im Log angezeigt:

[2020-07-16 09:53:54] request.INFO: Matched route "tl_page.184". {"route":"tl_page.184","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.184"},"request_uri":"https://cms.kaiser-braeu.de/export.html","method":"POST"} []
[2020-07-16 09:53:54] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-07-16 09:53:55] request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Expected response code 220 but got an empty response" at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 445 {"exception":"[object] (Swift_TransportException(code: 0): Expected response code 220 but got an empty response at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445)"} []
[2020-07-16 10:00:22] request.INFO: Matched route "tl_page.184". {"route":"tl_page.184","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.184"},"request_uri":"https://cms.kaiser-braeu.de/export.html","method":"POST"} []
[2020-07-16 10:00:22] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-07-16 10:00:22] request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Expected response code 220 but got an empty response" at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 445 {"exception":"[object] (Swift_TransportException(code: 0): Expected response code 220 but got an empty response at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445)"} []
[2020-07-16 10:01:03] request.INFO: Matched route "tl_page.184". {"route":"tl_page.184","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.184"},"request_uri":"https://cms.kaiser-braeu.de/export.html","method":"POST"} []
[2020-07-16 10:01:03] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-07-16 10:01:04] request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Expected response code 220 but got an empty response" at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 445 {"exception":"[object] (Swift_TransportException(code: 0): Expected response code 220 but got an empty response at /homepages/31/d99199547/htdocs/CMS-Veldensteiner/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445)"} []

Was kann ich tun?

Vielen Dank!

Michael Wiegärtner

  1. 1 Posted by michael.wiegaer... on 16 Jul, 2020 09:34 AM

    michael.wiegaertner's Avatar

    Hallo Rocksolid-Team,

    leider war ich mal wieder zu schnell dabei. Nach einigem nachlesen habe ich erkannt, dass der Mailversand in der Version 4 nur über einen konfigurierten Mail-Host funktioniert. Das war in der 3.xxx anders.

    Ich habe die Einträge in der parameters.yml nachgetragen und jetzt geht’s.

    Trotzdem Vielen Dank! Eurer Support war wie immer super!!!

    Mit freundlichen Grüßen
    Michael Wiegaertner

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac