I am new to web development and php. I created a php script to use for my contact form on my webpage. The webpage is published and live but when filling out the contact form that the php is linked to I am not receiving the email.
When I click the submit button i am taken to a 404 page although my contact form is linked to a php script that I am not sure if I configured correctly. After submission the user should be directed to a thank you page
The information I need emailed is very simple is there a simpler way to receive the information from the contact form to my email, because I was not able to get the php script or the contact form to work properly?
<form action="contactform.php" method="post" id="contactform">
<p> <input type="Name" required placeholder="Name"> </p>
<p> <input type="email" required form="contactform" placeholder="Email"> </p>
<p> <input type="tel" required placeholder="Telephone"> </p>
<p> <textarea required class="comments" placeholder="Comments"></textarea> </p>
<p> <input name="submit" type="submit" id="submit" value="submit"></p>
</form>