Mailinglisten-Archive |
Hallo Sascha Bei mir läufts nur mit \r..... Und Outlook schluckts wie es sein soll!!! Gruesse Christoph $_POST['comments'] = wordwrap($_POST['comments'], 75, "\r", 1); $_POST['comments'] = str_replace("\n","",$_POST['comments']); $kkstr = "kontakt"; $mailredirect = "Domain Formular Mail"; $subject = "Wichtig: VanDenBoom Kontakt"; $to = "info at domain.de"; $env_from = "-f ".$_POST['email']; $subject = $subject ." (von: ".$mailredirect.")"; $headers = "FROM: ".$_POST['email']." ( ".$_POST['vorname']." ".$_POST['name']." )\n"; $headers .= "Cc: \n"; $headers .= "Bcc: \n"; $headers .= "Reply-To: ".$_POST['email']."\n"; $headers .= "X-Mailer: PHP Mail Function on Apache and PHP/".phpversion()." Mailform\n"; $headers .= "Content-Type: text/plain; charset=\"iso-8859-15\"\n"; // Mime type $headers .= "Content-Transfer-Encoding: 8bit\n"; /* If you want to send html mail, uncomment the following line */ // $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type //add the contents of your text file ($body) to the variable $msg $usermsg = "WURDE AUFMERKSAM: ".$_POST['betreff1'] ."\rBETREFF: ".$_POST['betreff2'] ."\rFIRMA: ".$_POST['firma'] ."\rNAME: ".$_POST['vorname']." ".$_POST['name'] ."\rANSCHRIFT: ".$_POST['strasse'].", ".$_POST['plz']." ".$_POST['ort'] ."\rTELEFON: ".$_POST['telefon'] ."\rTELEFAX: ".$_POST['telefax'] ."\rEMAIL ".$_POST['email'] ."\rURL ".$_POST['url'] ."\rKOMMENTAR: ".$_POST['comments']."\r"; $usermsg .= "\r--"; //Signature delimiter $usermsg .= "\r...send by Domain mailform."; //Signature delimiter //Send the mail $smail = @mail($to, $subject, $usermsg, $headers, $env_from);
php::bar PHP Wiki - Listenarchive