function getEmailDomain($email)
{
$email = trim($email);
$emails = explode(@, $email);
return trim($emails[1]);
}