Standard email length
Hi experts,
Laravel email validation allows only 71 characters.
Where can I see the detail info for email validation?
Look in RegisterController. You will see that email has max:255 for the validation.
Where have you got 71 from?
I tried with 72 character string.
72 character email: 13121233332131121231121333333333333333333abcfddddddddda33333a3423@abc.co
It failed and show this error.
The email must be a valid email address.
I removed one character and it worked.
71 character email : 13121213332131121231121333333333333333333abcfddddddddda33333a3423@abc.co
It's in the RFC:
The maximum length of the local part is 64 characters. (RFC 2821, section 4.5.3.1)
So "13121213332131121231121333333333333333333abcfddddddddda33333a3423" which is 66 digits will not work.
Neither will shortening it by 1 character.
Shortening it by 2 characters however will be a valid email.
Please or to participate in this conversation.