Hopsel: Grosses Problem mit sendmail

Beitrag lesen

Hi,

$header .= "X-Mailer: PHP/" . phpversion(). "\n";
$header .= "Content-Type: text/html";

das Problem sind deine Header. Sie sind per "\r\n" zu trennen. Richtig wäre also:

$header = "";  
$header .= "X-Mailer: PHP/" . phpversion(). "\r\n";  
$header .= "Content-Type: text/html";  

Nähere Informationen findest du auch unter http://www.php.net/manual/de/function.mail.php
MfG Hopsel

--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001