WordPress.org

Forums

Sign-up Sheets
[resolved] Error message after signing up (6 posts)

  1. Silsin
    Member
    Posted 2 years ago #

    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/

  2. DLS Software Studios
    Member
    Plugin Author

    Posted 2 years ago #

    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?
  3. Silsin
    Member
    Posted 2 years ago #

    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.

  4. DLS Software Studios
    Member
    Plugin Author

    Posted 2 years ago #

    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;
  5. Silsin
    Member
    Posted 2 years ago #

    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.

  6. DLS Software Studios
    Member
    Plugin Author

    Posted 2 years ago #

    Excellent! That's good to hear.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.