Per RFC2047 section 5 do not use quoted strings for encoded recipient names

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10011 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Chris Smith 2009-08-18 01:43:51 +00:00
parent bfee2c4c67
commit 20bf778b93

View file

@ -455,7 +455,7 @@ class messenger
foreach ($address_ary as $which_ary) foreach ($address_ary as $which_ary)
{ {
$$type .= (($$type != '') ? ', ' : '') . (($which_ary['name'] != '') ? '"' . mail_encode($which_ary['name'], $encode_eol) . '" <' . $which_ary['email'] . '>' : $which_ary['email']); $$type .= (($$type != '') ? ', ' : '') . (($which_ary['name'] != '') ? mail_encode($which_ary['name'], $encode_eol) . ' <' . $which_ary['email'] . '>' : $which_ary['email']);
} }
} }