Historically, why were the RFCs about email addresses made so complicated?

RFCs 5321, 5322 and 6531 have complex rules for validating email addresses. They:

  • allow creating comments inside an email address
  • offer complicated restriction rules for symbols: "() ,:;<>@[]
  • treat postmaster localpart as case-insensitive but all other as case-sensitive
  • allow groups of email addresses
  • Thanks to these complicated rules, testing whether a given string is a syntactically valid email address according to the RFCs can't be performed using only Regular Expressions.

    Apparently, many of these rules aren't supported by major email providers.

    Historically speaking, what were the motivations for creating so complex rules for email addresses? The Wikipedia article on the origins of email would seem to imply that the modern standard from the early 1980s intended to cover all legacy email-ish systems with their particular standards and syntaxes.

    However, implementors of standards, email providers and email end-users alike all have a vested interest in a working system, which is easier to achieve when rules are not too arcane and can be easily cast into software that passes a finite number of tests, so why do we today have a standard that is so complicated nobody uses it to the full extent?

    Again historically speaking, XML has largely been superseded by JSON, the success of which can partly be ascribed to the simplicity of its grammar.


    The only sure way to see if a supplied email address is genuine is to send an email to it and see if the user recieves it. The one useful check that can be performed on an address is to check that the email address is syntactically valid. That is what this module does.

    Systems that send mail must be capable of handling outgoing mail for all valid addresses. Contrary to the relevant standards, some defective systems treat certain legitimate addresses as invalid and fail to handle mail to these addresses. Hotmail, for example, refuses to send mail to any address containing any of the following standards-permissible characters: !#$%*/?^`{|}~

    Just different levels of standards, where some are very strict, therefore complex.

    链接地址: http://www.djcxy.com/p/92916.html

    上一篇: 电子邮件地址中显示名称的最大长度是多少?

    下一篇: 历史上,为什么关于电子邮件地址的RFC很复杂?