?php include("phpmail/sendMail.php"); if(isset($_POST['contactSubmit'])) { if(!empty($_POST['email']) && !empty($_POST['name']) && !empty($_POST['subject']) && !empty($_POST['message'])) { $vEmail = $_POST['email']; $vName = $_POST['name']; $vSubject = $_POST['subject']; $vMessage = $_POST['message']; $message = "You have received a new message. Here are the details:\n Name: ". $vName ."\n Email: ".$vEmail." \n Subject: ". $vSubject ."\n Message: ". $vMessage; $subject = "Contact form submission: ".$vName; # Sending email through php mailer $mail->From = 'george@maximconstruction.net'; $mail->FromName = $vName; $mail->addAddress('george@maximconstruction.net', ''); // Add a recipient $mail->AddReplyTo($vEmail, $vName); $mail->isHTML(false); // Set email format to HTML $mail->Subject = $subject; $mail->Body = $message; if($mail->send()) { $msg = "Your message has been sent to admin successfully."; //exit; } else { $msg = 'Message could not be sent.'; $msg .= 'Mailer Error: ' . $mail->ErrorInfo; } } else { $msg = "Please enter all input fields"; } } ?> Maxim Construction.Inc

E-mail us with any questions or inquiries.
We will respond to your e-mail within 24 hours.

Meet Us Here!


Maxim Construction
5922 South Broadway
St. Louis, MO 63111
Office: 314.481.4111
Fax: 314.664.5111

How Can We Help You ?