This only posts before you actually send the email...
Maybe it has something to do with the captcha code for
$mailsent
If I intentionally type a error on your form I get the
the proper messages, however I do NOT get your:
"Sorry, there was a problem sending your message. Please try later."
Your code for the "Sorry, there was a problem sending your message. Please try later." is identically for $mailsent
<?php
}
elseif ($_POST && !$mailSent) {
?>
<p class="warning">Sorry, there was a problem sending your message. Please try later.</p>
<?php
}
elseif ($_POST && $mailSent) {
?>
<p><strong>Your message has been sent. Thank you for your feedback.</strong></p>
I don't see where this "Sorry.." is connected to anything