FUNC :: boolean is_mail ( string address [, boolean with_mxhost ] )

Returns TRUE if is mail address, FALSE if not. boolean with_mxhost default value are: false Example:

echo FUNC::is_mail('username@domain.net', true) ? 'Yes' : 'No';

[ Comments ] Last update: Wednesday, June 28, 2006