Support » Plugin: WordPress Simple Survey » User Mail

  • Hi there,

    We were having issues with the admin getting the quiz emails but not the user. A check of all the normal things came up blank. Working our way through we found:

    // Email all valid email addresses
        foreach($_POST as $type => $email){
            if(is_email($email)) <strong>mail</strong>($email,$subject,$auto_response,implode("\r\n",$headers));

    on line 120 of submit_quiz.php. When the highlighted mail is replaced with wp_mail (the same as the admin email section), it all worked.

    Hopefully this helps others but be aware, any updates will cancel this ‘patch’ 😉

  • The topic ‘User Mail’ is closed to new replies.