check mail php
filter_var($email, FILTER_VALIDATE_EMAIL)
php test if mail is working
<?php
$email = "[email protected]";
$subject = "Email Test";
$message = "my mail test message";
$sendMail = mail($email, $subject, $message);
if($sendMail){
echo "Email Sent Successfully";
}else{
echo "Mail Failed";
}
#If the mail() function exist but mails not going, check if a mail transport agent (MTA)such as sendmail or postfix is installed on your server
?>
php validate email
//BE CAREFUL!!!
//NEVER VALIDATE A EMAIL WITH A NORMAL PREG MATCH
//I SAW THIS A LOT VALIDATING A EMAIL IS THE BEST TO SEND A EMAIL
//AND VERIFY
//BECAUSE SOMEONE MIGHT HAVE A RIGHT EMAIL THAT DOESNT WORK BECAUSE OF
//PREG MATCH
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us