35801
Mar 14, 2009, updated at 14:47:47 (UTC)
2444
1
0
Mail-Befehl will nicht...
Ich habe ein (mir) unbegreifliches Problem...
Folgendes klappt einwandfrei:
ABER auf dem GLEICHEN SERVER (in einem anderen Verz.) bekomme ich folgendes Skript nicht dazu Mails zu versenden...
Was kann da falsch sein??
Folgendes klappt einwandfrei:
$betreff = "Antwort auf deine Anzeige";
$mail = mail($email, $betreff, $_POST['nachricht'], "From: ".$_POST['name']." <".$_POST['absender'].">");
$subject = "Passwort vergessen";
$mail_body = "Bla, Bla, Bla! PW: ".$pwd;
$header = "From: MeineSeite.com <noreplay@meineseite.com>\r\n";
$mail_ok = mail($email, $subject, $mail_body, $header);
Witziger Weise liefert mir folgendes eine Bestätigung!
if($mail_ok){
echo '<b>Deine Nachricht wurde versand...</b> <br /><br />';
}
Please also mark the comments that contributed to the solution of the article
Content-Key: 111394
Url: https://administrator.de/contentid/111394
Printed on: April 25, 2024 at 06:04 o'clock
1 Comment