PHP Email Validation with build in Function
if (!filter_var('bob@example.de', FILTER_VALIDATE_EMAIL)) {
print "thats not right";
} else {
print "that right";
}
if (!filter_var('bob@example.de', FILTER_VALIDATE_EMAIL)) {
print "thats not right";
} else {
print "that right";
}