Phalcon\Mvc\Model\Validator\Email, this Validator does not work, check it with an email like: [email protected]
When I use a string like this "[email protected]"
/**
* Phalcon\Mvc\Model\Validator\Email
*
* Allows to validate if email fields has correct values
*
*<code>
* use Phalcon\Mvc\Model\Validator\Email as EmailValidator;
*
* class Subscriptors extends Phalcon\Mvc\Model
* {
*
* public function validation()
* {
* $this->validate(new EmailValidator(array(
* 'field' => 'electronic_mail'
* )));
* if ($this->validationHasFailed() == true) {
* return false;
* }
* }
*
* }
*</code>
*
*/