HTML:
<form action="php/send-contact.php" class="contact-form" name="contact-form" method="post">
  <div class="row">
    <div class="col-sm-6 cols">
      <input type="text" name="name" required="required" placeholder="Name*">
    </div>
    <div class="col-sm-6 cols">
      <input type="email" name="email" required="required" placeholder="Email*">
    </div>
    <div class="col-sm-6 cols">
      <input type="text" name="subject" required="required" placeholder="Subject*">
    </div>
    <div class="col-sm-12 cols">
      <textarea name="message" required="required" cols="30" rows="5" placeholder="Message*"></textarea>
    </div>
    <div class="col-sm-12 cols">
      <input type="submit" name="submit" value="Send Message" class="btn btn-send">
    </div>
  </div>
</form>
php/send-contact.php:
<?php
$name = @trim(stripslashes($_POST['name'])); 
$email = @trim(stripslashes($_POST['email']));
$subject = @trim(stripslashes($_POST['subject']));
$message = @trim(stripslashes($_POST['message'])); 
$email_from = $email;
$email_to = 'hello@domain.co.uk';//replace with your email
$body = 'Name: ' . $name . "\n\n" . 'Email: ' . $email . "\n\n" . 'Subject: ' . $subject . "\n\n" . 'Message: ' . $message;
$success = @mail($email_to, $body, 'Name: ' . $name . "\n\n" . 'Email: ' . $email . "\n\n" . 'Subject: ' . $subject . "\n\n" . 'Message: ' . $message);
?>
<!DOCTYPE HTML>
<html lang="en-US">
  <head>
    <script>
      alert("Thank you for getting in touch. We will contact you as soon as possible.");
    </script>
    <meta HTTP-EQUIV="REFRESH" content="0; url=../index.html">
  </head>
The HTML alert activates and refreshes as it should, but it doesnt send any email...
I have tried numerous email address recipients.
Also, are there any special measures I should take into account (regarding the PHP elements) when adding Google ReCaptcha to this form?