We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38e0cc commit a7526f8Copy full SHA for a7526f8
src/IMAP/Message.php
@@ -608,7 +608,7 @@ private function parseAddresses($list) {
608
if(is_array($personalParts)) {
609
$address->personal = '';
610
foreach ($personalParts as $p) {
611
- $encoding = $this->getEncoding($p->text);
+ $encoding = (property_exists($p, 'charset')) ? $p->charset : $this->getEncoding($p->text);
612
$address->personal .= $this->convertEncoding($p->text, $encoding);
613
}
614
0 commit comments