genkgo / mail

Library to send e-mails over different transports and protocols (like SMTP and IMAP) using immutable messages and streams. Also includes SMTP server.
https://mail.readthedocs.io/
Other
402 stars 21 forks source link

Support internationalized email addresses (RFC 6530) #57

Closed DanMan closed 4 years ago

DanMan commented 5 years ago

Unicode characters are allowed in email addresses. It looks like you do handle Unicode in domains but not in the local part. In any case, it's not mentioned in the README, so here we are. If it is supported (and to what extent), you probably should mention it there.

frederikbosch commented 5 years ago

You are right: there is no support yet for unicode local parts. I was not aware of it. I will address this with a PR any time soon.