The Maximum Length Limit Of An Email Address is 254, NOT 320!

Ever wondered what is the maximum numbers of characters comprising an email address?
When you design databases, for example, this exact max. number is important to be known (at least for me).
There has been a lot of confusion concerning this number, many people believe it is 320; [{64}@{255}]. This is wrong, as further research all points out to 254!

Maximum Length Limit Of An Email Address

According to the techical report by Dominic Sayers

there is a length limit on email addresses:

That limit is a maximum of 64 characters (octets) in the “local part” (before the “@”) and a maximum of 255 characters (octets) in the domain part (after the “@”) for a total length of 320 characters. However, there is a restriction in RFC 2821 on the length of an address in MAIL and RCPT commands of 254 characters. Since addresses that do not fit in those fields are not normally useful, the upper limit on address lengths should normally be considered to be 254.

What Is Request for Comments (RFC)?

a Request for Comments (RFC) is a memorandum published by the Internet Engineering Task Force (IETF) describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internet-connected systems.

~ wikipedia

[RFCs set the standards that define how the Internet works.]

Recommended Reading

If You Appreciate What I Do Here On Seven PHP :: 7PHP, You Could Consider:

  1. Following me on Twitter | @7php
  2. LIKE-ing my FaceBook page
  3. Subscribe to my Email List - see top-right subscription box
  4. Help diffuse this interview to the PHP ecosystem - Share & Spread the word as far as you can ==> That would be a FREE way to thank me
  5. Use my DigitalOcean referral link if you plan to use it as your VPS (it starts at only $5/month btw) or if you can refer it to your friends, highly appreciated.
  6. Support via Paypal donate - my Paypal ID is

{I'm thankful to your response(s)!}

Speak Your Mind