Support » Plugin: WP Approve User » Approve and Disapprove email wasn’t recieve

  • Resolved kiiiin

    (@kiiiin)


    My website have used WP Approve user for a while but it suddenly broke. The approving and disapproving email can not be received by the user while the other wordpress email could be able to received by the user. It means only the WP Approve Use email function is down.
    Also I have been already tick the sent approve and disapprove email option already. Thankyou so much

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter kiiiin

    (@kiiiin)

    I have forget to mention that the approving function of the plugin can function normally which means only the email can not be receive

    Plugin Author Konstantin Obenland

    (@obenland)

    Hi there,

    I’m sorry you’re having trouble.
    This sounds like something is wrong with your (host’s) email setup, if it suddenly stopped working. The plugin uses WordPress’ built-in wp_mail() infrastructure, so I assume your site doesn’t send out any notification emails anymore?

    Konstantin

    Thread Starter kiiiin

    (@kiiiin)

    In fact, I have tested my site that the other email function which using wp_mail() is work(e.g woocommerce). Also I wanted updated my situation a bit. Actually the email can be received sometimes! Although most of the time it doesn’t work at all, sometimes it does!

    Thread Starter kiiiin

    (@kiiiin)

    I have change the website email delivery service to SMTP by using WP email SMTP plugin. All the email sending function is work expect WP approve user. I find out the email will only be sent when I approve the user for first time and no email will be received by the user if I unapprove or approve it again. Thankyou so much for answer my question

    Plugin Author Konstantin Obenland

    (@obenland)

    Ah, thanks for that follow up.

    I find out the email will only be sent when I approve the user for first time and no email will be received by the user if I unapprove or approve it again.

    Yes, this was a feature request from the early beginnings of this plugin to prevent duplicated emails when accidentally un-approving a user.

    If this is something you want to allow, you could use this filter to do so:

    add_filter( 'get_user_metadata' function( $value, $object_id, $meta_key ) {
        if ( 'wp-approve-user-mail-sent' === $meta_key ) {
            $value = false;
        }
    
        return $value;
    }, 10, 3 );
    Thread Starter kiiiin

    (@kiiiin)

    Thankyou so much for giving me advise! This filter help me to send the email to the user. But the unapprove email is still can not be sent. Is there any filter or code for me to solve this problem?

    Plugin Author Konstantin Obenland

    (@obenland)

    There is an option in the settings page that would need to be enabled.

    Thread Starter kiiiin

    (@kiiiin)

    Although I tick the send unapprove email option, the client still can not receive the unapprove email. Thankyou so much

    Thread Starter kiiiin

    (@kiiiin)

    Is it possible for me to have any update?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Approve and Disapprove email wasn’t recieve’ is closed to new replies.