$value) { // assign to temporary variable and strip whitespace if not an array $temp = is_array($value) ? $value : trim($value); // if empty and required, add to $missing array if (empty($temp) && in_array($key, $required)) { array_push($missing, $key); } // otherwise, assign to a variable of the same name as $key elseif (in_array($key, $expected)) { ${$key} = $temp; } } } // validate the email address if (!empty($email)) { // regex to ensure no illegal characters in email address $checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/'; // reject the email address if it doesn't match if (!preg_match($checkEmail, $email)) { array_push($missing, 'email'); } } //check the spam question is correct $spamquestion = strtolower($_POST["spamquestion"]); if ($spamquestion != "cold") { array_push($missing, 'spamquestion'); } // go ahead only if not suspect and all required fields OK if (!$suspect && empty($missing)) { // build the message $body = "Name: $name\n\n"; $body .= "Email: $email\n\n"; $body .= "Message: $message"; // limit line length to 70 characters $body = wordwrap($body, 70); // create additional headers $additionalHeaders = "From: $name<$email>"; if (!empty($email)) { $additionalHeaders .= "\r\nReply-To: $email"; } // send it $mailSent = mail($to, $subject, $body, $additionalHeaders); if ($mailSent) { // $missing is no longer needed if the email is sent, so unset it unset($missing); } } } ?> Latimer Trend and Company Ltd

Contact

Address Details

Latimer Trend & Company Ltd
Estover Road
Plymouth
Devon
PL6 7PY

Tel: 01752 201930
Fax: 01752 201760

If you would like to simply request a brochure, then please visit our brochure request page here.

If need to speak to someone urgently, then please telephone the above number, rather than using this contact form.

Please complete the missing item(s) indicated.

Sorry, there was a problem sending your message. Please try later.

Your message has been sent. Thank you for contacting us.

Required

/> Required

/> Required

/> Required

Required

To prevent spam, please complete the simple question below (in lowercase):

Required

* All fields are required.

 

 

Quick Estimate

To estimate the cost of your print requirements please use our online form.

Get an estimate >