src/FreeFW/Tools/Email.php
public static function verifyFormatting($p_address)
    {
        if (strstr($p_address, "@") == false) {
            return false;
        } else {
            list($user, $domain) = explode('@', $p_address);
            if (strstr($domain, '.') == false) {
                return false;
            } else {
                return true;
            }
        }
    }
public static function verifyFormatting($p_address)
    {
        if (strstr($p_address, "@") == false) {
            return false;
        } else {
            list($user, $domain) = explode('@', $p_address);
            if (strstr($domain, '.') == false) {
                return false;
            } else {
                return true;
            }
        }
    }
public static function verifyFormatting ( $ p_address ) { if ( strstr ( $ p_address , "@" ) == false ) { return false ; } else { list ( $ user , $ domain ) = explode ( '@' , $ p_address ) ; if ( strstr ( $ domain , '.' ) == false ) { return false ; } else { return true ; } } }
Verify email global format

@param string $p_address

@return boolean
Verify email global format