Email Validation php
A better option might be to use valid_email_address() to keep it all Drupal friendly :)


  Verifies the syntax of the given e-mail address.
  
  See RFC 5322 for details.


Example:

if (valid_email_address($email) != TRUE) {
  $errors[] = 'Please enter valid email';
}