Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • @berkelmudez

    Participant

    @shanakiyan Sorry,it’s been so long ago I don’t know anymore and if it all still works

    @berkelmudez

    Participant
    add_action( 'bp_email', function( $email_type, &$email_obj ) {
    $email_obj->set_from( "noreply@mydomain.com", "Blog website" );
    }, 10, 2 );

    Using this returns 2 warnings for me.

    Warning: Parameter 2 to {closure}() expected to be a reference, value given in …/wp-includes/plugin.php on line 525

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-includes/plugin.php:525) in …/wp-includes/pluggable.php on line 1171

    The mail still gets send but it won’t change the from email. I turned wp_mail on for now as I also don’t know how to change the bp mail, mail_from setting.

    add_filter( 'bp_email_use_wp_mail', '__return_true' );

    @berkelmudez

    Participant

    Glad it helped, got the same settings as well 🙂

    @berkelmudez

    Participant

    I haven’t really looked into that yet. I guess it does something to the email customisation but Postman is the only way right now to send emails from Buddypress so I can’t really test if it’s Postman for sure, since I can’t get Buddypress to send emails without Postman at all. Guess it has to be done some other way if it can’t work with Postman turned on.
    Unfortunately I don’t know much about customising these emails but I’ll look into it since I might would want to do that.

    Let me know if you make progress in this, good luck.

    @berkelmudez

    Participant

    Hi,

    I just had a similar problem problem where emails were working perfectly from WordPress and BB press but not from Buddypress for some reason even tho my SMTP plugins were working.

    It turned out that the SMTP plugins I were using weren’t applying the configuration on Buddypress emails for some reason. The plugins that did not work for me were:Configure SMTP, Easy WP SMTP, WP-Mail-SMTP.

    The plugin for me that did succeed in setting the smtp for buddypress email notifications was ‘Postman SMTP’. I think it might be worth a shot trying this plugin to see if it works with this plugin.
    I have no idea why the other SMTP plugins didn’t work but this plugin did and it might work for you as well. Good luck

    @berkelmudez

    Participant

    I used wp mail smtp, the plugin itself works, my smtp settings are correct, test mail gets send and received perfectly and no errors. But for some reason the smtp settings don’t apply to the buddypress mailing.

    But it doesn’t matter anymore I guess, I now use ‘Postman SMTP’ which send buddypress emails perfect via smtp. I have no idea why buddypress mailing doesn’t work with me with wp mail smtp and other smtp plugins but it does work with Postman smtp for some reason.
    Atleast the problem is solved now for me, so I’m already happy with that.

    @berkelmudez

    Participant

    After a lot of looking it turns out basically all the SMTP plugins that I was using/testing with weren’t working. For those that might encounter the same problem, these were plugins that did not work:
    – Configure SMTP
    – Easy WP SMTP
    – WP-Mail-SMTP

    The plugin for me that did succeed in setting the smtp for buddypress email notifications was:
    – Postman SMTP

    I don’t have any clue whatsoever why those plugins don’t work with my site and why that one did. But it’s so it’s alright I guess.

    @berkelmudez

    Participant

    Thanks for replying

    Turns out all the SMTP plugins I were using didn’t work. I got one that’s working.
    Still appreciate the response!

    @berkelmudez

    Participant

    @neijisly Were you able to solve it?

    @berkelmudez

    Participant

    @davbot How you found a way to fix this? I use ‘Easy WP SMTP’ which perfectly sends emails from WordPress and BBpress as well but not Buddypress, which doesn’t send registration emails or any type of Buddypress action. Seems like it’s ignoring my my smtp plugin as well.

Viewing 10 replies - 1 through 10 (of 10 total)
Skip to toolbar