From 3eb5898f7b8f8b836b15dcb9c9a9213d7edbda96 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 24 Mar 2014 15:35:07 +0100 Subject: use \OC_Mail::validateAddress() to validate the email address - fixes #7862 --- lib/private/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/mail.php') diff --git a/lib/private/mail.php b/lib/private/mail.php index f691fda979d..79f51609631 100644 --- a/lib/private/mail.php +++ b/lib/private/mail.php @@ -125,7 +125,7 @@ class OC_Mail { * @param string $emailAddress a given email address to be validated * @return bool */ - public static function ValidateAddress($emailAddress) { + public static function validateAddress($emailAddress) { $emailAddress = self::buildAsciiEmail($emailAddress); return PHPMailer::ValidateAddress($emailAddress); } -- cgit v1.2.3