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

This commit is contained in:
Klaus Leithoff 2011-02-23 12:36:08 +00:00
parent 5777b7bfc5
commit 6857f1c36e

View File

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