is_valid) { // die ("The security code wasn't entered correctly. Please try it again." . "(reCAPTCHA said: " . $resp->error . ")"); $send_message = "The security code wasn't entered correctly. Please try again."; } else { // lets mail include_once('scripts/PHPMailer/class.phpmailer.php'); $mail = new PHPMailer(); // defaults to using php "mail()" $body = ''; $body .= "Name: " . $_POST['name'] ."
"; $body .= "Email: " . $_POST['email'] ."
"; $body .= "Phone: " . $_POST['phone'] ."
"; $body .= "Address:
".nl2br($_POST['address']) ."
 
"; $body .= "Message: ".eregi_replace("[\]",'',$_POST['message']); $mail->From = $_POST['email']; $mail->FromName = $_POST['name']; $mail->Subject = "Contact from LooksGreatPromo.com"; $mail->MsgHTML($body); $mail->AddAddress("info@looksgreatpromo.com", "Dan"); // $mail->AddAddress("solasus@gmail.com", "Kevin Brady"); if(!$mail->Send()) { $send_message = "There was an error sending your message. Please try again."; } else { $send_message = "Your message has been sent."; $disabled = 'disabled="disabled"'; $recaptcha = ""; } } } ?> LooksGreatPromo.com

 

Tell us about yourself and your project and we’ll get back to you right away.
We’ll never sell or rent your personal information

Name *
Email * />
Address
Phone />
Say
Something *
Security Code