Favourites 0
Favourites 0

Test contact




I am enquiring about a commercial project

<?php if ($postcode === 2291 || $postcode === 2300) { $from="From: $name; Email: $email; $subject="Website enquiry from bespoketileandstone.com"; $project=[’Commercial-Project’]; mail("joshe@earp.com.au", $subject, $message, $from); echo "Email sent!"; } elseif ($postcode === 2294 || $postcode === 2320) { $from="From: $name; Email: $email; $subject="Website enquiry from bespoketileandstone.com"; $project=[’Commercial-Project’]; mail("salesebh@earp.com.au", $subject, $message, $from); echo "Email sent!"; } elseif ($_POST['project'] == 'TRUE') { $from="From: $name; Email: $email; $subject="Website enquiry from bespoketileandstone.com"; $project=[‘Commercial-Project’]; mail("salesebm@earp.com.au", $subject, $message, $from); echo "Email sent!"; } else { $from="From: $name; Email: $email; $subject="(Unknown Location) Website enquiry from bespoketileandstone.com"; $project=[’Commercial-Project’]; mail("info@bespoketileandstone.com", $subject, $message, $from); echo "Email sent!"; } ?>