infocubic
Hi,
We updated the file: wp-content/themes/Simpicity/template-contact.php
// check the e-mail
if($params_email) {
$regex = '/([a-z0-9_]+|[a-z0-9_]+\.[a-z0-9_]+)@(([a-z0-9]|[a-z0-9]+\.[a-z0-9]+)+\.([a-z]{2,4}))/i';
if(trim($_POST['email']) === '' || !preg_match($regex, trim($_POST['email']))) {
$validated = false;
$errors['email'] = __('please enter correct email address.', 'technews');
} else {
$output['email'] = trim($_POST['email']);
}
}
It should be working fine now, kindly check.
Regards