• Resolved lorilself

    (@lorilself)


    Hello,
    I’ve been testing the free version for days now (with plans to upgrade to Premium if I can get this working) with MemberPress and am not sure where to look next:

    When I click Approve on a Pending registration, it does change the user to Approved. And I can see in the SMTP email log that the approval email was sent. However, no matter how long I wait, it never arrives in the user inbox/spam. If I then click Resend Email from the SMTP email log, it arrives immediately. This is obviously not a manageable solution long-term.

    All other emails sent from my site work properly and arrive quickly – Fluent, MemberPress, etc. All SMTP test email tests work properly as well. For some reason the emails from NUA won’t work correctly unless I resend it from the email log. The original email never does show up, only the resend.

    Any suggestions on what I should check next? I’m stuck on how to get this working.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @lorilself,

    Thanks for using the plugin,

    I hope you are doing well, We have forwarded this to our technical team we will get back to you.

    Thanks & Regards

    WP Experts Support Team

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @lorilself,

    We are unable to replicate the issue on our staging site. Is it possible if you can share the screencast video of this issue?

    Thank you

    Thread Starter lorilself

    (@lorilself)

    Hello, thanks for the reply. There’s no way to easily screencast the situation. When I approve the order, the user never receives the Approval email. As I mentioned, I can see in the SMTP email log that the email was sent. Resending the email from that log does then deliver the email successfully, but that’s not a manageable solution.

    All other email functions on the site send/receive properly.

    Is there something specific you’d like me to check for you to provide more information?

    Thank you.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @lorilself,

    Firstly, As you said that in the email log email status is sent but in actuality, you did not receive that email and it is receiving successfully when you resent it from the SMTP mail log, so this simply means that our plugin is sending email perfectly but there is some plugin ( may that SMTP email ) on your site which blocking that email from sending.

    Maybe the respective SMTP email plugin’s support can give more insight on why the emails are not being delivered, can you please share the name of that SMTP plugin that you are using on your site for email functions? is that “Post SMTP“?

    Thank you

    • This reply was modified 2 years, 3 months ago by Mirza Hamza.
    Thread Starter lorilself

    (@lorilself)

    Hello, I replied to this yesterday by email but it’s not appearing here. I responded to let you know that I’m using Fluent SMTP plugin. Are you aware of any conflicts? Thanks.

    Thread Starter lorilself

    (@lorilself)

    fyi, at the suggestion of someone in the SMTP forum, I deactivated FluentSMTP and installed WP Mail SMTP plugin. I got the same results – all emails are delivered normally except for the “Approved” email, which is sent but not delivered. I don’t know what else to check, but I can’t move forward with purchasing either MemberPress or New User Approve until I can get this process to work correctly. Thanks for any other help you may be able to provide.

    Thread Starter lorilself

    (@lorilself)

    Hello again,
    If there is no solution for this deliverability issue, is there a way to just completely suppress the “Approved” email from being sent to users, and I can send a custom email after approval instead? It’s too risky/confusing to click Approve and then have no idea if the user is receiving the email or not. Thank you.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @lorilself,

    We have tested New User Approve with PostSMTP, WP-MAIL, and FLUENT SMTP its working fine and sending all emails perfectly including that approval email.

    The approval email on your site could be getting blocked due to the content or headers of the email being sent from your site. The respective SMTP plugin support will be able to better guide you regarding this.

    Please put that code snippet into the functions.php file of the active theme to stop sending emails with the click of Approve button.

    if (class_exists('pw_new_user_approve')) {
    	
    	add_action('init', 'remove_approve_email_hook');
    } 
    
    function remove_approve_email_hook()
    {
    	$myclass= pw_new_user_approve();
        remove_action('new_user_approve_approve_user',array($myclass,'approve_user') );
    
    	add_action('new_user_approve_approve_user','no_email_on_approve_new_user');
    }
    
    function no_email_on_approve_new_user($user_id)
    {
    	$user = new WP_User( $user_id );
    	wp_cache_delete( $user->ID, 'users' );
    	wp_cache_delete( $user->data->user_login, 'userlogins' );
    	
    	// change usermeta tag in database to approved
    	update_user_meta( $user->ID, 'pw_user_status', 'approved' );
    	do_action( 'new_user_approve_user_approved', $user );
    }

    Thank you

    • This reply was modified 2 years, 3 months ago by Mirza Hamza.
    • This reply was modified 2 years, 3 months ago by Mirza Hamza.
    Thread Starter lorilself

    (@lorilself)

    thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘approval emails not arriving’ is closed to new replies.