Update framework/validators/CEmailValidator.php
Update framework/validators/CEmailValidator.php

If fsockopen error "Connection refused" (error code: 61) is reached, yii hangs with uncatched 500 error code.

Output html code:
<h1>PHP Error [2]</h1>
<p>fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mail.somedomain.com:25 (Connection refused)</p>
jackey/YiiAPI-Framework,mudrezzz/testphp,Corfiot/yii,phoenix3008/yii,guber007/yii,Vartacom/yii,tvs-prarthana/yii,mudrezzz/testphp,jackey/YiiAPI-Framework,kurorido1990/dev-github,intersvyaz/yii,yiisoft/yii,yiichina/yii,guber007/yii,guber007/yii,Vartacom/yii,er361/yii-zadanie-somnium,sachintaware/yii,ImAnilChaudhari/yii,auburus/yii,wbfree/yii-tutorial,janisto/yii,dbalencar/yii,yiichina/yii,scriptius/blog,lubosdz/yii,YaDelivery/yii,intersvyaz/yii,YaDelivery/yii,wbfree/yii-tutorial,janisto/yii,janisto/yii,l3xthanzero/trackstar,GerrGIT/yii,dbalencar/yii,lsjing/yii,Infowatch/yii,er361/yii-zadanie-somnium,scriptius/blog,Yanan1021/yii,lsjing/yii,ImAnilChaudhari/yii,phoenix3008/yii,guber007/yii,scriptius/blog,ImAnilChaudhari/yii,longhua828/yii,mudrezzz/testphp,trewor-kapusta/yii,softark/yii,er361/yii-zadanie-somnium,kurorido1990/dev-github,licailing/yii,kurorido1990/dev-github,sachintaware/yii,GerrGIT/yii,Infowatch/yii,softark/yii,Vartacom/yii,mqiu/yiis,yiichina/yii,YaDelivery/yii,l3xthanzero/trackstar,mudrezzz/testphp,longhua828/yii,auburus/yii,tvs-prarthana/yii,scriptius/blog,makasim/PayumYiiExtensionSandbox,auburus/yii,marcovtwout/yii,lubosdz/yii,makasim/PayumYiiExtensionSandbox,sachintaware/yii,longhua828/yii,sachintaware/yii,tvs-prarthana/yii,phoenix3008/yii,auburus/yii,janisto/yii,lubosdz/yii,Corfiot/yii,YaDelivery/yii,GerrGIT/yii,lsjing/yii,phoenix3008/yii,lubosdz/yii,tvs-prarthana/yii,lsjing/yii,marcovtwout/yii,dbalencar/yii,longhua828/yii,intersvyaz/yii,GerrGIT/yii,makasim/PayumYiiExtensionSandbox,trewor-kapusta/yii,makasim/PayumYiiExtensionSandbox,licailing/yii,kurorido1990/dev-github,Vartacom/yii,Yanan1021/yii,ImAnilChaudhari/yii,licailing/yii,marcovtwout/yii,yiisoft/yii,mqiu/yiis,Yanan1021/yii,l3xthanzero/trackstar,licailing/yii,er361/yii-zadanie-somnium,mqiu/yiis,marcovtwout/yii