From: Joey Schulze Date: Thu, 27 Dec 2012 08:16:29 +0000 (+0100) Subject: Should encode from name properly as well X-Git-Url: https://git.infodrom.org/?p=misc%2Fhallinta-metro;a=commitdiff_plain;h=9c056b5135d48182105bb93235c4012663789b45 Should encode from name properly as well --- diff --git a/utils.php b/utils.php index 78292c6..5bd6ce4 100644 --- a/utils.php +++ b/utils.php @@ -204,7 +204,7 @@ function ordersatz_write($id, $dir, $send) mail_attach($satz[0]['email'], mb_encode_mimeheader(utf8_decode('Ordersatz ' . $satz[0]['name']),'latin1'), $satz[0]['email'], - 'Infodrom ' . $satz[0]['koch'], + mb_encode_mimeheader(utf8_decode('Infodrom ' . $satz[0]['koch']),'latin1'), array($dir . '/ordersatz.pdf'), $message);