verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']); if (!$response->isSuccess()) { header('Location: ./Resp_NoGo_reCaptcha.html'); exit; } } function ValidateEmail($email) { $pattern = '/^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i'; return preg_match($pattern, $email); } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'feedback_form1') { $mailto = 'student@4fronttech.co.nz'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'General Student Enquiry for Lumion Website Form'; $message = 'General enquiry form by a student from Lumion web site form:'; $success_url = './RespThanks.html'; $error_url = './Resp_NoGo.html'; $autoresponder_from = 'peterm@4fronttech.co.nz'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Lumion Web Site Contact/Feedback Form'; $autoresponder_message = 'Thank you for your enquiry or feedback regarding Lumion. A reply will be sent as soon as possible. Peter Mellor Owner 4Front Technologies Lumion Authorised Reseller(NZ) ------------------------------------------------------------------ '; $eol = "\n"; $error = ''; $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $boundary = md5(uniqid(time())); $header = 'From: '.$mailfrom.$eol; $header .= 'Reply-To: '.$mailfrom.$eol; $header .= 'MIME-Version: 1.0'.$eol; $header .= 'Content-Type: multipart/mixed; boundary="'.$boundary.'"'.$eol; $header .= 'X-Mailer: PHP v'.phpversion().$eol; try { if (!ValidateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } } } $body = 'This is a multi-part message in MIME format.'.$eol.$eol; $body .= '--'.$boundary.$eol; $body .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol; $body .= 'Content-Transfer-Encoding: 8bit'.$eol; $body .= $eol.stripslashes($message).$eol; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { $body .= '--'.$boundary.$eol; $body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol; $body .= 'Content-Transfer-Encoding: base64'.$eol; $body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol; $body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol; } } } $body .= '--'.$boundary.'--'.$eol; if ($mailto != '') { mail($mailto, $subject, $body, $header); } if (!ValidateEmail($autoresponder_from)) { $error .= "The specified autoresponder email address (" . $autoresponder_from . ") is invalid!\n
"; throw new Exception($error); } $autoresponder_header = 'From: '.$autoresponder_from.$eol; $autoresponder_header .= 'Reply-To: '.$autoresponder_from.$eol; $autoresponder_header .= 'MIME-Version: 1.0'.$eol; $autoresponder_header .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol; $autoresponder_header .= 'Content-Transfer-Encoding: 8bit'.$eol; $autoresponder_header .= 'X-Mailer: PHP v'.phpversion().$eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $autoresponder_message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } else { $autoresponder_message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } } } mail($autoresponder_to, $autoresponder_subject, $autoresponder_message, $autoresponder_header); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } ?> Educational General Enquiry Form
Lumion3d.co.nz Site name

Contact:

Educational Contact Form:

To help reduce spam, please directly type in the email address to your email client such as Outlook.
For New Zealand based enquiries only. 

All enquiries from other countries,
see the Lumion
this Knowledge Base article
Students:
Are you a student studying in an architecture or design discipline at a recognised course?  You may be eligible to the (free) Lumion Pro Student product.

Lumion Pro Student can be ordered by individual tertiary students in New Zealand. Some secondary students may also be eligable if studying courses aligned to Lumion and visualization.

We offer an annual (365 day) license to students on a case-by-case basis.  Subject to application.

Enquire using this general contact form below or email us, or use the Application form here.  We will then reply with details on the application process.
Educational organizations:
Please use this form or email us.

General Educational contact form:

Lumion: Beautiful Renders within Reach

Contact Information:

Name:
Educational Organization Name:
Telephone:
Your Email Address:

Enquiry:

Beautiful Renders Within Reach

How to get Lumion:

Order Version 10.3:-
NZ Reseller Discounts for Arpril 2020:

See our Order and Pricing information for Lumion and Lumion Pro.
About Lumion
Visualisation
Made Easy
User
Showcase
New Features in
Lumion V10.0