• Resolved yandoos

    (@yandoos)


    Hello I was really hoping for some help please.
    Eveything has been working fine for months and last night I changed the password for the SMTP account. From here I realised all emails were failing to go out at all or be logged anywhere. After checking the password multiple times (to rule it out as issue) I opted to install a different SMTP plugin (Easy SMTP). From here emails would go out and be logged. ALl except bbpress! And this is still the situation today.

    I have installed bbpress notify no spam plugin in the hope it would fix it. I have gone through the Read first guide and still find no notifications are being sent at all.

    Any help would be ace.

    Thank you.

    https://www.ads-software.com/plugins/bbpress-notify-nospam/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author useStrict

    (@usestrict)

    Try logging wp_mail() failures. Add the following to the end of your functions.php, before any close PHP tags.

    add_action( 'bbpnns_email_failed_single_user', 'my_log_failed_email', 10, 5 );
    
    function my_log_failed_email( $user_info, $filtered_subject, $filtered_body, $recipient_headers, $wp_mail_error )
    {
    	error_log(__LINE__ .  '['.date('Y-m-d H:i:s').'] Mailout failed: ' .
    				print_r( array( 'email' => $user_info->user_email, 'error' => $wp_mail_error ) ,1), 3, dirname(__FILE__) . '/out.log' );
    }

    The failure messages should show up in out.log file in your theme’s directory (alongside functions.php).

    Thread Starter yandoos

    (@yandoos)

    Thank you I will do that and let you know my findings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BBpress notifications not sending’ is closed to new replies.