Hi I have very little PHP knowledge (this is my first PHP creation).
I have managed to create a contact form that emails me the data but I want to implement an auto response email. The message I want in the auto response email is:
We have received your DevAndCo Minecraft Server Application and will be reviewing it shortly. One of the DevAndCo team members will be in touch with you as soon as possible. Your submitted application is as follows (if you see any errors please reply to this message to alert us):
\n \n \n \n From: $fname \n\n Email Address: $email \n\n Age: $age \n\n Country: $country \n\n About: $about \n\n Image Links: $images
My code to send the form data to my email currently works so there is no problem with that, but as I say, I want to implement auto response. The PHP handling code to send it to my email is below.
// Email Subject
$subject ="DevAndCo Application";
// Email Body
$message="From: $fname \n\n Email Address: $email \n\n Age: $age \n\n Country: $country \n\n About: $about \n\n Image Links: $images";
// Email of Sender
$header="from: $fname <$mail_from>";
// Send to DevAndCo
// Success page redirect
// Redirect to success page
echo "<script>window.location = 'http://www.devandco.co.uk/success.html'</script>";
Thanks to anyone who can help me