Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should email validation requires the domain part contains a dot?

I noticed that the built-in browser validation for <input type="email" /> requires a format of xxx@xxx. Only the @ character is required. There is no need to a dot, like [email protected].

It is the same with the popular jQuery.inputmask, the rule of email alias does not require the dot, either.

I am just curious. Is it a standard way to ignore the dot in email validation now? I haven't seen any email address on the root level domain. What is the reason to ignore the dot?

like image 918
Blaise Avatar asked Jan 16 '15 21:01

Blaise


People also ask

Is Dot mandatory in email address?

Adding dots doesn't change your address, so dots aren't why you got someone else's mail. Instead, the sender probably mistyped or forgot the correct address. For example, if someone meant to email [email protected] but typed [email protected], the message went to you because you own [email protected].

How do you validate a domain email?

The process You select an email from the list. The Certificate Authority sends a verification email (also called DCV email) to the recipient with a unique link to approve the certificate and validate your domain ownership. You click on the link to validate and approve the certificate.

Which are the two different ways to validate email addresses?

Most email service providers (ESPs) provide email validation services. There are many free tools that also validate email addresses; ValidateEmailAddress, EmailValidator and Pabbly Email Verification are few of such examples.

What characters are valid in an email address?

uppercase and lowercase Latin letters A to Z and a to z ; digits 0 to 9 , provided that top-level domain names are not all-numeric; hyphen - , provided that it is not the first or last character.


1 Answers

The RFC 822, chapter 6, gives the specification of an address in augmented Backus-Naur Form (BNF):

addr-spec   =  local-part "@" domain
local-part  =  word *("." word)
domain      =  sub-domain *("." sub-domain)

Using this specification a@b is a valid address.

like image 175
Ortomala Lokni Avatar answered Oct 13 '22 01:10

Ortomala Lokni