Skip to content

Commit f208353

Browse files
committed
Convert encoding of personal data struct #272
1 parent a48a9ce commit f208353

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/IMAP/Message.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,8 @@ private function parseAddresses($list) {
608608
if(is_array($personalParts)) {
609609
$address->personal = '';
610610
foreach ($personalParts as $p) {
611-
$address->personal .= $p->text;
611+
$encoding = $this->getEncoding($p->text);
612+
$address->personal .= $this->convertEncoding($p->text, $encoding);
612613
}
613614
}
614615
}

0 commit comments

Comments
 (0)