Hallöle,
vor eniger Zeit habe ich XAMPP auf Win2000 installiert und heute wollte ich im PHP- Programm erstmalig eine Mail versenden (das hat in anderen Programmen auf Webservern bereits funktioniert).
Local kommt die Fehlermeldung:
"Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\www\_bianca.osmer.de\500\p582.php on line 277
x"
Okay, an php.inis mangelts nicht, ich habe drei davon:
file:///C:/xampp/apache/bin/php.ini
file:///C:/xampp/php/php.ini
file:///C:/xampp/php/php4/php.ini
und alle enthalten diese Zeilen:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "\xampp\sendmail\sendmail.exe -t"
Aber enthält XAMPP überhaupt einen Mail-Server?
Was muss ich machen, um Mails versenden zu können?
MfG Kalle
x