FUNC :: boolean is_mail ( string address [, boolean have_mxhost ] )
Return TRUE if is mail address format, FALSE if not. boolean have_mxhost default value is: false Example:

// verify if "username@domain.net" is mail address format and have MX zone
echo FUNC::is_mail('username@domain.net', true) ? 'true' : 'false';

See Also: FUNC::getmxrr_win() [ Comments ] Last update: Sunday, July 01, 2007