DusanKasan / parsemail

Simple email parsing for Golang
MIT License
212 stars 138 forks source link

UTF8 subject not decoded correctly #1

Closed peterkrejci closed 7 years ago

peterkrejci commented 7 years ago

Subject is parsed directly from mail source without any decoding, so if it is encoded as =?UTF-8?B?... then you get it as it is

DusanKasan commented 7 years ago

Done in https://github.com/DusanKasan/parsemail/commit/f4376a629efd9d465415cc2016bd2564f74a1494

lechuhuuha commented 1 year ago

Done in f4376a6

now its can decode utf8 but subject lost some space in subject from this longvanren thân mến, bạn đã nhận được lì xì lên đến 2 triệu đồng từ Zozo to this longvanrenthân mến, bạn đã nhận được lì xì lên đến 2triệu đồng từ Zozo

i use the lastest version from this repo and encounter this error

here is the full email https://anotepad.com/notes/mx8k3622

@DusanKasan