21 if (is_null($this->_sMailValidationRule)) {
22 $this->_sMailValidationRule =
"/^([\w+\-.])+\@([\w\-.])+\.([A-Za-z]{2,64})$/i";
35 $this->_sMailValidationRule = $sMailValidationRule;
45 $sEmailValidationRule = $oConfig->getConfigParam(
'sEmailValidationRule');
46 if (!empty($sEmailValidationRule)) {
47 $this->_sMailValidationRule = $sEmailValidationRule;
62 $blValid = (
getStr()->preg_match($sEmailRule, $sEmail) != 0);