JSFiddle - React, Tailwind, and code Playground
by padma rubhan
HTML
$to = $email;
$subject = 'Verification';
$message = 'Thank you for registration';
$header = "From:[email protected] \r\n";
$success = mail ($to,$subject,$message,$header);
if( $success == true ) {
header("Location: reg_auth.php?msg=1");
}else {
header("Location: reg_auth.php?msg=2");
exit();
}