summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-10-14 10:52:27 +0000
committeralecpl <alec@alec.pl>2009-10-14 10:52:27 +0000
commite4acbbd8cc02b960bd5240538016b2c69c33d6bd (patch)
treed24c4b6dc5687287e71d6673be9ff2281b4161ea /plugins/managesieve/managesieve.php
parentb5713396f1bfd135b457bcad9cceb20f48ba23c7 (diff)
- Added server-side e-mail address validation with 'email_dns_check' option (#1485857)
Diffstat (limited to 'plugins/managesieve/managesieve.php')
-rw-r--r--plugins/managesieve/managesieve.php3
1 files changed, 3 insertions, 0 deletions
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;