if (strtolower(substr($myEmail, strpos("@")+1)) == "hotmail.com"){
//the string includes hotmail.com as the only part after @, but wether it's valid or not isn't determined here. Also this assumes that the registration form validates the email structure before it's passed to this code. Meaning...the email address only includes valid characters before the @, actually includes only one @ and has valid characters after the @. A regexp is useful here.
}