Contact

Info

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the when an unknown printer took.

Address

The Company Name

25478 charms of pleasur

On the other hand, we denounce

Email Address

General : info(at)Lorem.com

Office : info(at)Lorem.com

Phone

Landline : 254-8974-5847

Mobile : +174 1478 74755


"; } if(!$_POST["name"]) { $error .= "The subject field is required.
"; } if(!$_POST["MESSAGE"]) { $error .= "The content field is required.
"; } if ($_POST['EMAIL'] && filter_var($_POST["EMAIL"], FILTER_VALIDATE_EMAIL) === false) { $error .= "The email address is invalid.
"; } if ($error != "") { $error =''; } else { $to = 'madusquare@gmail.com'; $from = $_POST['EMAIL']; $subject = "New Message from ' . $from"; $name = $_POST['name']; $tel = $_POST['tel']; $text = $_POST['MESSAGE']; /* To send HTML mail, the Content-type header must be set*/ $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; /* Create email headers */ $headers .= 'From: '.$to."\r\n". 'Reply-To: '.$to."\r\n" . 'X-Mailer: PHP/' . phpversion(); /* Compose a simple HTML email message*/ @ $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= ''; $message .= '
'; $message .= 'name: --- ' . $name; $message .= '
'; $message .= 'Tel no: --- ' . $tel; $message .= '
'; $message .= $text; $message .= '
'; $message .= ''; $message .= ''; /* Sending email */ if (mail($to, $subject, $message, $headers)) { echo 'Your mail has been sent successfully.. We will contact you shortly'; } else { echo 'Unable to send email. Please try again.'; }}} ?>