When i click on Confirm for sending email, i got message "www..... is currently unable to handle this request"... Is my code bad,or its about hosting server ? Thanks
<div class="contactform" data-aos="fade-right" data-aos-offset="300">
<div id="form" class="form">
<h3>Kontakt oss</h3>
<form class='formclass' method="POST" action="contact.php">
<input name="name" type="text" placeholder="First Name" required>
<input type="text" placeholder="Last Name" required>
<input name="email" type="email" placeholder="E-mail" required>
<textarea name="message" placeholder="Message" required></textarea>
<input id="confbtn" type="submit" value="CONFIRM" class='confbtn'>
<div>
<p>Isbjorn</p>
</div>
</form>
</div>
</div>
contact.php
<?php
$name = $_POST['name'];
$visitor_email = $_POST['email'];
$message = $_POST['message'];
$email_from = 'contactform@companyname.no';
$email_subject = "New Form Submission";
$email_body = "User Name: $name.\n".
"User Email: $visitor_email.\n."
"User Message: $message.\n";
$to = "myemail@yahoo.com";
$headers = "From: $email_from \r\n";
$headers = "Reply-To": $visitor_email \r\n";
mail($to,$email_subject,$email_body,$headers);
header("Location: index.html");
?>