Viewing File: /home/nudhamca/public_html/mailing.php
<?php
$recipient = "contactus@nudhamcapital.co.uk";
$from = "email@mailwizard.com";
$fullname = $_POST['fullname'];
$phone = $_POST['phone'];
$email = $_POST['email'];
$website = $_POST['website'];
$description = $_POST['description'];
$emailSubject = "Form Filled"
$headers = "From: $from\r\n";
$messages = "Your enquiry form details are below:\n\r
Name: $name\n
Phone: $phone\n
Email: $youremail\n
Address or Case Type: $address\n
Message: $note\n\r";
mail($recipient, $emailSubject, $messages, $headers);
header("Location: sentindex.html");
?>Back to Directory