php-imap-client: Bad encoding in subject and body message
I’m getting email via getMessage() function and subject and body are not poperly decoding.
dumped results from getMessage function:
header => stdClass object {
subject => (string) =?UTF-8?B?dGVzdDEgxIXFvMW6xIfEh8WbxbzFusSHxIU=?=
(...)
}
message => stdClass object {
plain => (string) Tutaj jest tre=C5=9B=C4=87
*tutaj wi=C4=99cej tre=C5=9Bci
Osadzony obraze:
The subject should contain:
test1 ążźććśżźćą
and body
Tutaj jest treść
tutaj więcej treści
Osadzony obraze
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 23 (9 by maintainers)
@sergey144010. Your repos latest code is working. Please make sure your code is stable and documented and make a pull request. I will gladly merge it.