Can someone help please.
The following code works perfectly when I plug an actual email into the code (copied the email posted by $_POST[“email”]), but the minute I use $_post[“email”] in the mail function it does not work.
I have added a print statement to my code to check that $_post[“email”] is okay and it is.
mail($_POST[“email”], ‘A test email’, $emailText, $header);