Sha256: 6ba15115be8d2bb860c992e92ef33718062c5cce9fd24d7f69347a27d7d5715b

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

---
---

<?php
/* Request feilds from _includes/quick-contact.html */
// email to owner

  $email = "arrancurran@gmail.com" ;

  // Sanitize E-mail Address
  $email = filter_var($email, FILTER_SANITIZE_EMAIL);

// email to user
  $subject_response = "Thank you for your message" ;

  $message_body_response = "{% include email-confirmation.html %}";

  $headers_response = "From:" . "arran@madeslowly.co.uk\r\n";

  $headers_response .= "MIME-Version: 1.0\r\n";
  $headers_response .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

  mail($email, $subject_response, $message_body_response, $headers_response);

  $host  = $_SERVER['HTTP_HOST'];

  header("Location: /contact-confirm/");
  exit();
?>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
made-slowly-0.0.1 assets/php/email-test.php