projects
/
misc
/
hallinta-metro
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa333b6
)
Encode subject properly so that foreign characters are transmitted properly
author
Joey Schulze
<joey@infodrom.org>
Thu, 26 Jan 2012 21:51:10 +0000
(22:51 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 26 Jan 2012 21:51:10 +0000
(22:51 +0100)
utils.php
patch
|
blob
|
history
diff --git
a/utils.php
b/utils.php
index
6728aae
..
d6905e9
100644
(file)
--- a/
utils.php
+++ b/
utils.php
@@
-185,7
+185,7
@@
function ordersatz_write($id, $dir, $send)
$satz[0]['koch']);
mail_attach($satz[0]['email'],
$satz[0]['koch']);
mail_attach($satz[0]['email'],
-
'Ordersatz ' . $satz[0]['name']
,
+
mb_encode_mimeheader(utf8_decode('Ordersatz ' . $satz[0]['name']),'latin1')
,
$satz[0]['email'],
'Infodrom ' . $satz[0]['koch'],
array($dir . '/ordersatz.pdf'),
$satz[0]['email'],
'Infodrom ' . $satz[0]['koch'],
array($dir . '/ordersatz.pdf'),