BuddyDev

Search

[Resolved] Plain text mail + compatibility with WP HTML Mail.

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #23538

    Hi Mocha,
    Thank you for the question.

    1. BuddyPress supports HTML email out of the box. If it was not working, Most probably a conflict with 3rd party plugin. I have seen issues when using 3rd party smtp plugins.

    2. The above code does not do much. It re enables the html email from BuddyPress(which should be the default case). The settings was being overridden by some code or 3rd party plugin and I don’t see any harm in using the above code.

    The only thing it does is instead of using wp_mail() it uses bp_send_email() which uses a custom extend version of PHP Mailer.

    The problem with this approach is most of the smtp plugin’s won’t be able to deliver it(the filters are different).

    Hope that clarifies

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Mocha on #23569

    Brajesh,

    Yes it clarified things for me. Someone suggested changing the core files to this:

    $email->get( ‘content_plaintext’, ‘replace-tokens’ )

    $email->get( ‘content_html’, ‘replace-tokens’ )

    Do you recommend this? And if not, do you know of any good 3rd party smtp plugins that won’t conflict with BP?

    Thanks!
    `

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #23576

    Hi Mocha,
    Thank you.

    I am not sure which smtp plugin supports BuddyPress. If you have a choice, Please let me know, we can most probably make any of them compatible with BuddyPress.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Mocha on #23577

    Brajesh,

    Would it be possible to make it compatible with WP HTML Mail plugin?
    https://wordpress.org/plugins/wp-html-mail/

    Thank you so much!

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #23590

    Hi Mocha,
    Thank you for the link.

    It is not a smtp plugin but an html email designer.

    I will ask one of my team members to look at it and get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #23714

    Hi Mocha,
    It seems the plugin you referrred have already added BuddyPress Compatibility.

    https://wordpress.org/support/topic/buddypress-issue-8/#topic-11681720-replies

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 1
    Hannes Etzelstorfer on #28262

    Hey, I just found this topic… I’m the developer of WP HTML Mail. We created a free BuddyPress add-on a few months ago: https://wordpress.org/plugins/wp-html-mail-buddypress/
    best regards, Hannes

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #28270

    Hi Hannes,
    Welcome to BuddyDev.

    Thank you for developing the BuddyPress addon and taking time to sharing with us all.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved