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

This commit is contained in:
Klaus Leithoff 2011-02-23 12:35:53 +00:00
parent 8893a9b602
commit 36129b8d7f

View File

@ -1765,7 +1765,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?