Problem with cyrillic email "from"
See original GitHub issue📣 Notification Service(s) Impacted
🪲 Describe the bug
If set from_name using russian language (“Например так”), we get fail with incorrect “email from”. Field from is “From: =?utf-8?b?0YTRi9CyIDxzb21lQGVtYWlsLnJ1Pg==?=”, but it should be From: =?utf-8?b?0YTRi9Cy?= <some@email.ru>
💡 Screenshots and Logs
💻 Your System Details:
- OS: windows 10
- Python Version: [e.g. Python v3.8]
🔮 Additional context
For temporary solving I use Charset('utf-8').header_encode(some_text)
.
For resolve thats problem need formataddr from email.utils. base['From'] = formataddr((from_name, self.from_addr))
And what do you think about naming “to” (To: Some name <reciever@email.com>)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Problem with encoding Cyrillic Text in Email
I have a Bulgarian email account which receives some emails with Cyrillic text content which is displayed as gibberish. Can I change the...
Read more >Problem with Cyrillic | WordPress.org
Please help me solve the problem with character encoding in system emails and pdf accounts. Cyrillic characters are displayed here as unreadable text...
Read more >Error: 'Please fix email address' when Using Cyrillic Symbols ...
Kerio Connect does not support Cyrillic Symbols for email addresses. As a workaround, you can convert these symbols to Punycode using either of ......
Read more >Encoding - can't read mails in Russian (c… - Apple Community
i have the following problem: i cannot read mails i get in russian (cyrillic) - i have already tried adding russian in preferences ......
Read more >Problem with Cyrillic email on Linux System — oracle-tech
Hi, i have one problem with received emails with cyrillic letters (charset cp1251 or KOI-8) after i get emails from server, i want...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to close this ticket off now that everything is working. I created another ticket describing your enhancement request with email. 🙂
Feel free to comment here or open another ticket if you have any more issues!