Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

How many subdomains are possible for an Email address? For Example: [email protected] like that....

like image 625
Yoko Zunna Avatar asked Feb 23 '11 05:02

Yoko Zunna


1 Answers

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).

like image 119
acoolaum Avatar answered Sep 22 '22 17:09

acoolaum