Skip to content
Snippets Groups Projects
Commit 052b2a17 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

removed commented code left from the quoted_printable days

parent 04058413
No related branches found
No related tags found
No related merge requests found
......@@ -370,15 +370,6 @@ class Mailer {
}
if(!utf8_isASCII($text)){
//FIXME check if this is needed for base64 too
// put the quotes outside as in =?UTF-8?Q?"Elan Ruusam=C3=A4e"?= vs "=?UTF-8?Q?Elan Ruusam=C3=A4e?="
/*
if (preg_match('/^"(.+)"$/', $text, $matches)) {
$text = '"=?UTF-8?Q?'.mail_quotedprintable_encode($matches[1], 0).'?="';
} else {
$text = '=?UTF-8?Q?'.mail_quotedprintable_encode($text, 0).'?=';
}
*/
$text = '=?UTF-8?B?'.base64_encode($text).'?=';
}
}else{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment