teste@çço.com
is considered valid, when in fact this is not valid.
Does anyone know how to proceed?
Piece of code:
$emailValidate = new \Zend\Validator\EmailAddress;
if (!$emailValidate->isValid($dados->email)) {
throw new ValidationException('E-mail inválido', 4);
}