I wrote a email validation function (PHP) a long time ago. Don't know how
upto date it is, but you might find it interesting :
function checkEmail($address)
{
if(ereg( "^[^@
]+@([a-zA-Z0-9\-]+\.)+([a-zA-Z0-9\-]{2}|net|com|gov|mil|org|edu|int)$",$address)
)
return true;
else
return false;
}
(note line wrap)
You can download the code here :
http://www.planet-source-code.com/xq/ASP/txtCodeId.430/lngWid.8/qx/vb/scripts/ShowCode.htm
(again, note line wrap)
Not fool proof, but has worked for me so far.
Regards,
Burhan Khalid
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp