Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP email not sending and not displaying contact form on firefox
    primarykey
    data
    text
    <p>Hello its bit confusing for me so just asking..</p> <ol> <li>I have a contact us form setup on pop-up box ! Its working fine on google chrome but on Firefox it just show a shadow and don't display the pop-up <code>lightbox</code>.</li> <li>I have setup email script to use <code>google captcha</code> for verification (<code>re-captcha</code>) , but when i fill form and click send it don't give error and submit.</li> </ol> <p>but i never receive email at my inbox.. i tried with Gmail , Hotmail and few others..</p> <p>So i can't understand where the problem is, Please can anyone check my code and tell is its my core error or its my server error and how to fix these issues.</p> <p><strong>Here goes my sendmail.php code:</strong></p> <pre><code> &lt;!-- for re-captche --&gt; &lt;?php require_once('../recaptchalib.php'); $privatekey = "xxx-xxxxxxxxxxx"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp-&gt;is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." . "(reCAPTCHA said: " . $resp-&gt;error . ")"); } else { if(!$_POST) exit; $to = "###"; $email = $_POST['email']; $name = $_POST['name']; $message = $_POST['message']; $subject = "You've been contacted by $name"; $content = "$name sent you a message from your enquiry form:\r\n\n"; $content .= "Contact Reason: $message \n\nEmail: $email \n\n"; if(@mail($to, $subject, $content, "From: $email \r\n Reply-To: $email \r\nReturn-Path: $email\r\n")) { echo "&lt;h5 class='success'&gt;Message Sent&lt;/h5&gt;"; echo "&lt;br/&gt;&lt;p class='success'&gt;Thank you &lt;strong&gt;$name&lt;/strong&gt;, your message has been submitted and someone will contact you shortly.&lt;/p&gt;"; }else{ echo "&lt;h2 class='failure'&gt;Sorry, Try again Later.&lt;/h2&gt;"; } } ?&gt; &lt;!-- For contact us form validation and sending --&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload