What is the actual minimum length of an email address as defined by the IETF?

前端 未结 4 1852
耶瑟儿~
耶瑟儿~ 2021-02-02 05:56

I\'m specifically looking for the minimum length of the prefix and domain.

I\'ve seen conflicting information and nothing that looks authoritative.

For referen

4条回答
  •  一向
    一向 (楼主)
    2021-02-02 06:10

    I believe the standard you are looking for is RFC 2822 - Internet Message Format

    More specific info on email address restrictions in RFC 3696 - Section 3

    To quote the spec:

    Contemporary email addresses consist of a "local part" separated from a "domain part" (a fully-qualified domain name) by an at-sign ("@").

    So three characters is the shortest.

    I originally got this info from Phil Haack's blog post.

提交回复
热议问题