RFC-compliant email address validation

Run all tests Run original test set Read more... Contact

Email address tested was all‎

Short story: the address is invalid for common use cases (such as an online registration form)

Category: Address is invalid for any purpose [ISEMAIL_ERR]
Diagnosis: Address contains a character that is not allowed [ISEMAIL_ERR_EXPECTING_ATEXT]

The SMTP enhanced status code would be 553 5.1.1 Bad destination mailbox address

The following reference is relevant:

atext = ALPHA / DIGIT / ; Printable US-ASCII "!" / "#" / ; characters not including "$" / "%" / ; specials. Used for atoms. "&" / "'" / "*" / "+" / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" / "~"
RFC 5322 section 3.2.3