Oh mein Gott ich glaub's ja nicht!!!
Es klappt!!!
Danke, danke danke!!
Liebe Grüße,
Macks
Es klappt!!!
PHP-Code:
$Message_Body .= "Content-Transfer-Encoding: quoted-printable".$newline;
$Message_Body .= "Content-Disposition: inline$newline$newline";
if (!function_exists("quoted_printable_encode")) {
/**
* Process a string to fit the requirements of RFC2045 section 6.7. Note that
* this works, but replaces more characters than the minimum set. For readability
* the spaces and CRLF pairs aren't encoded though.
*/
function quoted_printable_encode($string) {
$string = str_replace(array('%20', '%0D%0A', '%'), array(' ', "\r\n", '='), rawurlencode($string));
$string = preg_replace('/[^\r\n]{73}[^=\r\n]{2}/', "$0=\r\n", $string);
return $string;
}
}
$DB_MsgBodyHTML = quoted_printable_encode($DB_MsgBodyHTML);
Liebe Grüße,
Macks
Kommentar