I get every time the message "You entered an invalid email address" if I don't use a com or de domain. .net for example did not work.
SVN Manager: v1.09
Any Idea?
Thx
Got the workaround without the checkdnsrr from prado. Just uncomment the part from the "public function evaluateIsValid()" in "prado-2.0.3/framework/Web/UI/WebControls/TEmailAddressValidator.php" .
///* if($valid && function_exists('checkdnsrr')) { $idPath=$this->getControlToValidate(); if(strlen($idPath)) { $control=$this->getTargetControl($idPath); $value=$control->getValidationPropertyValue(); if(strlen($value)) { $pos=strpos($value,'@'); if($pos===false) $valid=false; else { $domain=substr($value,$pos+1); $valid=strlen($domain)?checkdnsrr($domain,'MX'):false; } } } } //*/
The file with the change is attached.
Log in to post a comment.
I get every time the message "You entered an invalid email address" if I don't use a com or de domain.
.net for example did not work.
SVN Manager: v1.09
Any Idea?
Thx
Last edit: Patch Logan 2013-08-27
Got the workaround without the checkdnsrr from prado.
Just uncomment the part from the "public function evaluateIsValid()" in "prado-2.0.3/framework/Web/UI/WebControls/TEmailAddressValidator.php" .
The file with the change is attached.