WordPress Simple Survey
User Mail (1 post)

  1. Suredata
    Posted 2 years ago #

    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' ;)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Simple Survey
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic