Feature #1249

Email validator

Added by Davide Principi almost 8 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:06/22/2012
Priority:NormalDue date:06/22/2012
Assignee:-% Done:


Target version:v1.5.0
Resolution: NEEDINFO:


Validate an email address according to the following rules:

  1. An email address is composed of a local and a domain part, in the form localpart@domainpart
  2. local part has a length between 1 and 64 characters
  3. local part must be a sequence of characters in the ranges A-Z a-z 0-9 or the symbols ._-.
  4. the local part must start with a letter, and cannot contain two or more consecutive dots ..
  5. domain part is a valid hostname
  6. the entire email address length must be less or equal to 254 characters

Those rules allow a subset of strings considered valid email addresses by RFC5322

Related issues

Blocks NethServer 6 - Task #1248: Select domain in pseudonym key CLOSED 06/22/2012

Associated revisions

Revision 6c4cbf16
Added by Davide Principi almost 8 years ago

Validator.php: refactored addToChain() method. Passing FALSE as template argument skip automatic addFailureInfo() call in evaluate(). Refs #1249

Revision 096d977d
Added by Davide Principi almost 8 years ago

NethPlatform.php: defined EMAIL constant and email validator constructor. Refs #1249 -- Email validator

Revision 2c4a1762
Added by Davide Principi almost 8 years ago

Language: added translations for email validator. Refs #1249 -- Email validator


#1 Updated by Davide Principi almost 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 10 to 100

#3 Updated by Davide Principi over 6 years ago

  • Target version deleted (DEV104)

Also available in: Atom PDF