From e4acbbd8cc02b960bd5240538016b2c69c33d6bd Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 14 Oct 2009 10:52:27 +0000 Subject: - Added server-side e-mail address validation with 'email_dns_check' option (#1485857) --- plugins/managesieve/managesieve.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/managesieve/managesieve.php') diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 9a5e721c1..0c8c492e4 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -818,6 +818,9 @@ class managesieve extends rcube_plugin private function check_email($email) { + if (function_exists('check_email')); + return check_email($email); + // Check for invalid characters if (preg_match('/[\x00-\x1F\x7F-\xFF]/', $email)) return false; -- cgit v1.2.3