if ((utf8_strlen($this->request->post['contact']) < 3) || (utf8_strlen($this->request->post['contact']) > 100)) {
$json['error']['contact'] = $this->language->get('error_contact');
}
if (filter_var($email_a, FILTER_VALIDATE_EMAIL)) {
echo "E-mail ($email_a) указан верно.";
}
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
// invalid emailaddress
}