Skip to content

Commit a1d61c4

Browse files
author
Mikhail Sazanov
committed
fixes #2
1 parent 4214148 commit a1d61c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function getBody(TextPart $part): bool|string|null
143143
if ($part->getEncoding() === 'quoted-printable') {
144144
return imap_qprint($body);
145145
} elseif ($part->getEncoding() === 'base64') {
146-
return base64_decode($body);
146+
return imap_base64($body);
147147
} else {
148148
return $body;
149149
}

0 commit comments

Comments
 (0)