with php5.3 EncodeQP uses quoted_printable_encode, which messes up content eventually

This commit is contained in:
Klaus Leithoff 2011-02-23 13:27:30 +00:00
parent 8ec4aeac46
commit 617d7dc90a

View File

@ -1735,7 +1735,7 @@ class PHPMailer {
*/
public function EncodeQP($string, $line_max = 76, $space_conv = false) {
if (function_exists('quoted_printable_encode')) { //Use native function if it's available (>= PHP5.3)
return quoted_printable_encode($string);
//return quoted_printable_encode($string);
}
$filters = stream_get_filters();
if (!in_array('convert.*', $filters)) { //Got convert stream filter?