PHP contact form script with reCaptcha is_valid) && (!isset($hasError))) { $emailTo = 'info@nightanddayplace.com'; // here you must enter the email address you want the email sent to $subject = 'From Prenotazione: ' . $formAuthor . ' | ' . $formSubject; // This is how the subject of the email will look like $body = "Nome: $formAuthor \n\nCognome: $formAuthor2 \n\nCellulare: $formPhone \n\nArrivo: $formArrive \n\nPartenza: $formLeave \n\nNotti: $formNight \n\nPerone: $formPeople \n\nEmail: $formEmail \n\nContent: $formContent"; // This is the body of the email $headers = 'From: <'.$formEmail.'>' . "\r\n" . 'Reply-To: ' . $formEmail . "\r\n" . 'Return-Path: ' . $formEmail; // Email headers //send email mail($emailTo, $subject, $body, $headers); // set a variable that confirms that an email has been sent $emailSent = true; } // if there are errors in captcha fields set an error variable if (!($resp->is_valid)){ $captchaErrorMsg = true; } } } ?>

e-mail correctly sent

There are problems in the fields. Check errors and correct.

Captcha error.

Arrive Date Seleziona Data
Leave Date Seleziona Data