-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail Problem - Plain-Text instead of HTML with Buddypress 12.4.0 #249
Comments
Sorry to hear you're having problems. I've tested between BP versions and I can't reproduce. The "bracket" format in your screenshot looks like it was generated by the function |
I not customize the I also try more different things to fix it and I find a solution. If I do this in the file
The mails looking good. Is it possible to get a hook or anything that I could deactivate this function? |
The Are you running other plugins that modify the way that email is sent? Perhaps a plugin that forces WP emails to be formatted using HTML? |
Yes, I use "Email Template Designer – WP HTML Mail", but I also try "Email Templates Customizer and Designer for WordPress and WooCommerce"... Both are not Working. The only way is that I not use this Plugins and let your Plugin send the Mail over Buddypress. Than I get a HTML Mail. But I need this Template Plugins, because all Mails from the Buddypress shout have the same design, and also need a Header Image and other Design parts. :-/ I not think that your Plugin is the Problem. I think something changed in the way Buddypress generate the Mail for sending. From the other plugins I have no chance to force that they will use the html content. :-/ Is there a Chance that I get a Hook or an option that your Plugin delievers HTML in any case? Or that I can change the ass_convert_links() function the way I do now? Thanks for your help! |
This can be used to filter the content of emails before they are sent by `wp_mail()`. Useful in cases where a plugin is overriding `wp_mail()`, and you don't want to use the fallback plaintext content provided by BPGES. See #249.
Thanks for the clarification. BPGES is detecting that you're using the WP HTML Mail plugin, and is therefore falling back on There's no simple way to override this behavior. So I've introduced a new filter, which will be in the next version. See ba36aca. To use it, you can put something like the following in your own plugin/theme: add_filter(
'bpges_wp_mail_content',
function( $plaintext_content, $original_content ) {
return $original_content;
},
10,
2
); If you don't want to wait for the next BPGES release, you can try patching your installation with ba36aca. |
Thank you very much that you want to help me! I try your Patch in Then I try my patch in the |
Hi,
I have another problem with the display of the notification emails. In Buddypress 12.2.0 everything works fine. See Screenshot.
Then in Buddypress 12.3.0 the Problem starts to look like the second Screenshot. The Mail is not Formated in the Maintext as HTML and has also another text in it. I hoped that 12.4.0 would help, but it won't.
Do you have an idea for me what I can do? Did a Hook changed?
Maybe you can help. Thank you very much!
Cheers Chris
The text was updated successfully, but these errors were encountered: