How many sub-domain are allowed for an Email Id?

别等时光非礼了梦想. 提交于 2019-12-18 13:26:42

问题


How many subdomains are possible for an Email address? For Example: something@something.co.uk.uk like that....


回答1:


There isn't any constraints based on subdomain count.

There is limitation of lengths parts of e-mail address in RFC821

user

The maximum total length of a user name is 64 characters.

domain

The maximum total length of a domain name or number is 64 characters.

path

The maximum total length of a reverse-path or forward-path is 256 characters (including the punctuation and element separators).

limitations in RFC2821

local-part The maximum total length of a user name or other local-part is 64 characters.

domain The maximum total length of a domain name or number is 255 characters.

and newest in RFC5321

4.5.3.1.1. Local-part

The maximum total length of a user name or other local-part is 64
octets.

4.5.3.1.2. Domain

The maximum total length of a domain name or number is 255 octets.

4.5.3.1.3. Path

The maximum total length of a reverse-path or forward-path is 256
octets (including the punctuation and element separators).



来源:https://stackoverflow.com/questions/5087426/how-many-sub-domain-are-allowed-for-an-email-id

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