Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if email is real

<?php
$email = "john.doe@example.com";

if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
  echo("$email is a valid email address");
} else {
  echo("$email is not a valid email address");
}
?>
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #check #email #real
ADD COMMENT
Topic
Name
2+1 =