Contact Us

Working hours - Shop

Closed Sundays & Public Holidays

Mondays 10AM - 4PM - book-ins/sales only

Tue - Fri : 9.30 AM to 5.00 PM

Sat : 9.30 AM to 1 PM

08 8395 8666 or 0434 545 062
sales@bluemouse.com.au

'success', 'msg' => __SUCCESS_MESSAGE__)); } else { echo json_encode(array('info' => 'error', 'msg' => __ERROR_MESSAGE__)); } } //Check e-mail validation function check_email($email){ if(!@eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)){ return false; } else { return true; } } //Get post data if(isset($_POST['name']) and isset($_POST['mail']) and isset($_POST['comment'])){ $name = $_POST['name']; $mail = $_POST['mail']; $website = $_POST['website']; $comment = $_POST['comment']; if($name == '') { echo json_encode(array('info' => 'error', 'msg' => "Please enter your name.")); exit(); } else if($mail == '' or check_email($mail) == false){ echo json_encode(array('info' => 'error', 'msg' => "Please enter valid e-mail.")); exit(); } else if($comment == ''){ echo json_encode(array('info' => 'error', 'msg' => "Please enter your message.")); exit(); } else { //Send Mail $to = __TO__; $subject = __SUBJECT__ . ' ' . $name; $message = ' Mail from '. $name .'
Name: '. $name .'
E-mail: '. $mail .'
subject: '. $subject .'
Comment: '. $comment .'
'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; $headers .= 'From: ' . $mail . "\r\n"; send_mail($to,$subject,$message,$headers); } } else { echo json_encode(array('info' => 'error', 'msg' => __MESSAGE_EMPTY_FILDS__)); } ?>