Support » Plugin: Sign-up Sheets » Error message after signing up

  • Resolved Silsin

    (@silsin)


    First of all : thank you for setting up this plugin!
    I’m just testing it for later use and on registering a person I get the You have been signed up! message and the person is correctly added to the list, but also the registrant sees the message ERROR SENDING EMAIL after he is being returned to the sign-up sheet.
    Do I have to change something in my blog’s settings?

    http://wordpress.org/extend/plugins/sign-up-sheets/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DLS Software Studios

    (@dlsstudios)

    A few questions…

    1. In your test, did the email you entered actually receive the sign-up sheet confirmation?
    2. If no, was the email address valid?
    3. Have you had trouble with any other email notifications through that set up of WordPress?
    Silsin

    (@silsin)

    The email did not get the confirmation, the address is valid (my own spare one) and no, the other mail notifications are working fine.
    But as the registration itself works fine, I can live without the confirmation mails being sent out 🙂
    I was just wondering if you had a quick method at hand to resolve the problem.

    Plugin Author DLS Software Studios

    (@dlsstudios)

    To help debug this further, would you be able to upgrade to the newest version of the plugin v1.0.4? Then in the file sign-up-sheets.php replace line #767 (starts with “return wp_mail…”) with the code below. Then go into Settings > Sign-up Sheets in your WP admin and turn on detailed error messages. This should provide more details on what is actually erroring out.

    $result = wp_mail($to, $subject, $message, $headers);
    
    if (!$result) {
        global $ts_mail_errors;
        global $phpmailer;
        if (!isset($ts_mail_errors)) $ts_mail_errors = array();
        if (isset($phpmailer)) $ts_mail_errors[] = $phpmailer->ErrorInfo;
        throw new SUS_Data_Exception(__('Error sending email.'). (($this->detailed_errors === true) ? '.. '.implode(' --- ', $ts_mail_errors) : ''));
    }
    
    return $result;
    Silsin

    (@silsin)

    Thanks for the help!
    Actually I found the reason. Apparently the C-Panel had a hick-up recently and the standard mail address was removed. I only noticed it because someone alerted me that the contact form returned an error message.
    After re-adding the mail address also the sign-up sheet plugin works perfectly fine.

    Plugin Author DLS Software Studios

    (@dlsstudios)

    Excellent! That’s good to hear.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message after signing up’ is closed to new replies.