Enhancement #3209

email validation function evalEmail()

Added by Boris DE ANDRADE about 5 years ago. Updated over 4 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:NethServer 6 - v6.7


The email validation function uses several regex to filter emails.
Maybe we could use the native php function "filter_var" with the "FILTER_VALIDATE_EMAIL" filter? which is following the RFC 5322

It would answer to some needs , like the "+" char.

Attached, a suggestion of improvement to the function evalEmail()

http://www.rfc-editor.org/rfc/rfc5322.txt @ 3.4. Address Specification

patch_Validator.php.patch Magnifier (1.33 KB) Boris DE ANDRADE, 07/01/2015 06:53 PM

Related issues

Related to NethServer 6 - Enhancement #2673: Permit special character into pseudonym CLOSED


#2 Updated by Boris DE ANDRADE about 5 years ago

  • File deleted (patch_Validator.php.patch)

#4 Updated by Giacomo Sanchietti about 5 years ago

  • Target version deleted (v6.6)

#5 Updated by Davide Principi over 4 years ago

  • Status changed from NEW to CLOSED
  • Target version set to v6.7
  • % Done changed from 0 to 100
  • Resolution set to REJECTED

Thanks for the patch Boris, we're going to implement your patch for NethServer 7. This issue is moved on


#6 Updated by Davide Principi about 4 years ago

Also available in: Atom PDF