Ich habe ebenfalls Probleme mit den Formularen. Meine Seite liegt bei ionos.
Ich habe schon so ziemlich alles probiert. php mit Google Capatcha, ohne, über SMTP.
Die Seite: https://dangast-waterkoeter.de/kontakt.html
Ich nutze PHP 8.3, habe aber schon mit 8.2 und 7.4 versucht. Bekomme iimmer wieder die gleichen Meldungen.
2024-05-21 13:53:58 Connection: opening to smtp.1und1.de:465, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2024-05-21 13:53:58 Connection: opened
2024-05-21 13:54:08 SMTP INBOUND: ""
2024-05-21 13:54:08 SERVER -> CLIENT:
2024-05-21 13:54:08 Connection: closing due to error
2024-05-21 13:54:08 Connection: closed
SMTP Error: Could not connect to SMTP host.
SMTP Error: Could not connect to SMTP host.
2024-05-21 13:55:53 Connection: opening to ssl://smtp.1und1.de:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
2024-05-21 13:55:53 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/homepages/24/d510475813/htdocs/assets/php/formmailer/mailer/SMTP.php line 388]
2024-05-21 13:55:53 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/homepages/24/d510475813/htdocs/assets/php/formmailer/mailer/SMTP.php line 388]
2024-05-21 13:55:53 Connection failed. Error #2: stream_socket_client(): Unable to connect to ssl://smtp.1und1.de:587 (Unknown error) [/homepages/24/d510475813/htdocs/assets/php/formmailer/mailer/SMTP.php line 388]
2024-05-21 13:55:53 SMTP ERROR: Failed to connect to server: (0)
SMTP Error: Could not connect to SMTP host.
SMTP Error: Could not connect to SMTP host.
oder über php ohne eine smtp-Adresse: Could not instantiate mail function