awalon / MailToTelegramForwarder

MailToTelegramForwarder is a Python based daemon that will fetch mails from a remote IMAP server and forward them via Telegram API.
GNU General Public License v3.0
40 stars 18 forks source link

Decode Sender name from base64 #5

Closed phant closed 2 years ago

phant commented 2 years ago

Recieved messages in telegram looks like:

From: =?UTF-8?B?0JjQstCw0L3QvtCyINCY0LLQsNC9?= e@ma.il

or

From: =?utf-8?q?Freenas?= e@ma.il

Sender name should be decoded to

From: Иванов Иван e@ma.il

or

From:Freenas e@ma.il

awalon commented 2 years ago

Thanks for your report. Issue will be fixed with next version, code change already preparred but not yet tested.

awalon commented 2 years ago

Should be fixed with new version v0.2.1