Nabend,
ich habe in meiner Mail leider immernoch nur à ¶Ã ¤Ã usw. anstelle von Umlauten.
Finde habe auch mit Hilfe von Google nicht den Fehler.
PHP
		
					
				function sendEMail($sRecipient, $sSubject, $sText, $sFrom, $aAttachment)
    {
        $sSubject = utf8_decode($sSubject);
        $sHash = md5(date('r', time()));
        $sHeaders = "From: " . $sFrom . "\r\nReply-To: " . $sFrom;
        $sHeaders .= "\r\nContent-Type: multipart/mixed; charset=utf-8; boundary=\"PHP-mixed-" . $sHash . "\"";
        $sMail = "--PHP-mixed-" . $sHash . "\n"
        . "Content-Type: multipart/alternative; boundary=\"PHP-alt-" . $sHash . "\"\n"
        . "\n"
        . "--PHP-alt-" . $sHash . "\n"
        . "Content-Type: text/html; charset=\"utf-8\"\n"
        . "Content-Transfer-Encoding: 8bit\n"
        . "\n"
        . "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
        . "<html>"
        . "<head>"
        . "<title>...</title>"
        . "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"
        . "</head>"
        . "<body>"
        . $sText
        . "</body>"
        . "</html>"
        . "\n"
        . "--PHP-alt-" . $sHash . "--\n";
        if (!empty($aAttachment))
        {
            $sAttachment = chunk_split(base64_encode(file_get_contents($aAttachment['tmp_name']['contact_img'])));
            $sMail .= "\n"
            . "--PHP-mixed-" . $sHash . "\n"
            . "Content-Type: " . $aAttachment['type']['contact_img'] . "; name=\"" . $aAttachment['name']['contact_img'] . "\"\n"
            . "Content-Transfer-Encoding: base64\n"
            . "Content-Disposition: attachment\n"
            . "\n"
            . $sAttachment . "\n"
            . "--PHP-mixed-" . $sHash . "--";
        }
        mail($sRecipient, $sSubject, $sMail, $sHeaders);
    }Hat vielleicht von euch jemand ne idee?
 
		 
		
		
	



 </offtopic>
</offtopic>