Are international characters (e.g. umlaut characters) valid in the local part of email addresses?

蹲街弑〆低调 提交于 2019-11-28 19:38:09

Yes, they are valid characters as long as the mail exchanger responsible for the email address supports the UTF8SMTP extension, discussed in RFC 5336. Beware that just a small portion of the mail exchangers out there supports internationalized email addresses.

Both our email validation component for Microsoft .NET and our REST email validation service, for example, allow UTF8 characters in the local part of an email address but will mark it as invalid if its related mail exchanger does not support the aforementioned extension.

https://tools.ietf.org/html/rfc5322#section-3.4.1 is your latest standards track reference. Generally it is not advisable to use characters which require quoting due to the outrageously high amount of standards unconformant MTAs out there. Such email are bound to get lost in the long run.

As a friendly advice this table is pretty useful too: http://www.remote.org/jochen/mail/info/chars.html

It looks like rfc6531 replaces 5336 and it is "PROPOSED STANDARD" https://tools.ietf.org/html/rfc6531

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!