
Contact Us
Use the form below to send us your questions/comments.
'; $name = ''; } if($email == '') { $errors .= 'Please insert your email address'; $email = ''; } else if(!ereg('[a-zA-Z0-9\.\-\_]{2,}@[a-zA-Z0-9\-]{1,}.[a-zA-Z]{2,6}(.[a-zA-Z]{2,4})', $email)){ $errors .= 'Please enter a valid email address
'; $email = ''; } if($phone == '') { } else if(!ereg('[0-9 :space: \+\-]{7,15}', $phone)){ $errors .= 'Please enter a valid phone number
'; $phone = ''; } if($question == ''){ $errors .= 'Please insert your question / comment
'; $question = ''; } if ($pos === false) { } else { $errors .= 'Please remove any URL links in your question/comment.
'; $question = ''; } if ($pos1 === false) { } else { $errors .= 'Please enter a valid email address
'; $email = ''; } if ($pos2 === false) { } else { $errors .= 'Please enter a valid email address
'; $email = ''; } if ($pos1a === false) { } else { $errors .= 'Please only enter your name into the name field
'; $name = ''; } if ($pos2a === false) { } else { $errors .= 'Please only enter your name into the name field
'; $name = ''; } //If there's errors, display them... if($errors != ''){ echo '
';
echo $errors;
echo '
';
} else {
//There are no errors, so creat email and send it off...
$mailsubj = "A Question / Comment has been submitted by " . $name . "\r\n" .
"----------------------------------------------------------------------------------------" . "\r\n" .
"Name = " . $name . "\r\n" .
"Email = " . $email . "\r\n" .
"Phone = " . $phone . "\r\n" .
"Question / Comment = " . $question . "\r\n" .
"----------------------------------------------------------------------------------------";
$to = "mike@digitalgenus.com";
$subject = "Te Pumautanga o Te Arawa Trust Website Question";
$mailHdrs = "From: ".$email."\n";
$mailHdrs .= "MIME-Version: 1.0\n";
$mailHdrs .= 'Content-type: text/plain; charset=iso-8859-1\n';
mail($to, $subject, $mailsubj, $mailHdrs);
$name = '';
$email = '';
$phone = '';
$question = '';
$thanks = 'Thank you for your feedback. We will be in touch.
';
echo $thanks;
}
}
?>
Te Pumautanga o Te Arawa
PO Box 6084
Rotorua, New Zealand
Phone:
0800 524 428 (from within New Zealand)
1800 237 527 (from Australia)
or 07 347 4615 (+0064 7 347 4615)
Fax
07 347 4654

