private function hostnameFromEmail($email)
    {
        $parts = explode('@', $email);

        if (count($parts) == 2) {
            return strtolower($parts[1]);
        }

        return null;
    }
private function hostnameFromEmail($email)
    {
        $parts = explode('@', $email);

        if (count($parts) == 2) {
            return strtolower($parts[1]);
        }

        return null;
    }
private function hostnameFromEmail ( $ email ) { $ parts = explode ( '@' , $ email ) ; if ( count ( $ parts ) == 2 ) { return strtolower ( $ parts [ 1 ] ) ; } return null ; }
Get the hostname form an email address

@access private
@param string $email Address
@return string|null
Get the hostname form an email address