"; // Send the email. if (mail($recipient, $email_subject, $email_content, $email_headers)) { echo "Thank you! Your message has been sent."; } else { echo "Oops! Something went wrong and we couldn't send your message."; } } else { echo "There was a problem with your submission, please try again."; } ?>