Ich bin gerade beim Erlernen von php.
Dazu habe ich mir XAMPP heruntergeladen.
Ich arbeite auf einem windows XP Rechner.
Ich habe XAMPP installiert und es schien gut zu funktionieren. Nun wollte ich jdoch die Funktion mail() verwenden.
Wenn ich die entsprechende seite aufrufe erscheint nachdem ich die php.ini in folgendes umgeändert habe keine Fehlermeldung mehr, es kommt aber auch keine E-Mail an:
- Code: Select all
[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 = "C:\xampp\sendmail\sendmail.exe -t"
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
der quelltext meiner seite:
- Code: Select all
....
<?php
$to = 'meine@email';
$subject = 'header';
$content = 'content';
mail($to, $subject, $content, $fromadress);
?>
....
Es wäre nett wenn ihr mir helfen könntet das problem zu beheben!
mfg
eragon