Answers for "success message php mail"

PHP
1

php mail success message

if(mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader))
      {
      echo "<script>document.location.href='contact.php'</script>";
      }
      else
      {
      echo "<script>alert('Mail was not sent. Please try again later');</script>";
      }
     }
Posted by: Guest on September-26-2020

Browse Popular Code Answers by Language