XAMPP: 7.4.12-0
Moin,
ich brauche mal Eure Hilfe bei der Konfiguration meiner lokalen XAMPP-Installation.
Ausgangssituation: Ein PHP-Kontaktformular , das bei meinem Provider problemlos funktioniert, soll auch lokal funktionieren.
Formular ausfüllen, überprüfen, absenden und Danke-Seite öffnen, funktioniert.
Was nicht funktioniert, ist der Mailversand. Ich bekomme einfach keine Mail.
Im "Sendmail.log" gibt es keine Fehlermeldungen.
[27-Dec-2020 10:43:35 Europe/Berlin] mail() on [/opt/lampp/htdocs/www.domain.de/kontakt.php:61]: To: homepage@domain.de -- Headers: From: homepage@domain.de Reply-To:xmas2020@domain.cc Content-type: text/plain; charset=UTF-8 MIME-Version: 1.0 Content-Transfer-Encoding: BASE64 -- Subject: Anfrage vom Kontaktformular
Nach langer Suche im Netz, habe ich in der "php.ini" folgendes eingetragen:
- Code: Select all
[mail function]
SMTP = smtp.domain.de
smtp_port = 25
sendmail_from = heiko.rompel@domain.de
sendmail_path = /usr/sbin/sendmail -t -i
;mail.force_extra_parameters =
mail.add_x_header=On
mail.log = /opt/lampp/htdocs/sendmail.log
Sendmail ist unter Linux installiert:
- Code: Select all
heiko@heiko-pc:~$ which sendmail
/usr/sbin/sendmail
Der Mail-Provider lässt tatsächlich den Mailversand ohne vorherigem POP3/IMAP zu.
Im "php-error.log" gibt es auch keine Einträge.
a) In welche Logs kann ich noch suchen?
b) Wo ist mein Fehler?
Gruß Heiko