BuddyPress Emails Default Text
-
Hi!
Is it necessary to create emails for each situation to make sure emails go out? If yes, I don’t know what to write in each email, is there any default text available for each email?
Thanks
<br />
-
Is it necessary to create emails for each situation to make sure emails go out?
There should be default items in that list. Did you delete them?
Take a look at the
bp_email_get_schema()
function for the default messages used.Hi @henrywright !
I never deleted any emails, even the one showing there is what I created.
Can I get the defaults from some where?
Thanks
That’s strange!
Without customising anything, I see this on my install:
@djpaul did all of the Email API heavy lifting, perhaps he knows if there should be items in the list by default?So if they show by default, they should be the part of the zip bundle of BuddyPress? Should I try to find a folder in a fresh zip download from here? https://downloads.wordpress.org/plugin/buddypress.2.5.3.zip
I doubt you’ll find a folder with them in it; instead, they probably get added to the database as part of the BuddyPress install routine. Try installing BuddyPress on a fresh copy of WordPress to see if they suddenly show up.
Thank you very much 🙂 I installed BuddyPress on a fresh WordPress install and yes there are defaults emails available. Since there is no export / import option, I am copy pasting and creating them one by one on my production site.
For some reason, sent mails are not HTML. Only plain text mails are being sent. I will be thankful for any help on this too.
Use the Repair Tools under wp-admin Tools > BuddyPress. There’s one to reinstall emails.
Emails not sending in HTML means you probably have some plugin active that redeclares the
wp_mail
function — this doesn’t make sense to non-developers, I admit, but if you have any plugins that do things with emails for WordPress, that’s the likely candidate.Thank you @djpaul
Repair Tool is the perfect solution!
I had 3 mail related plugins :
1 – Mailgun
2 – Contact Form 7 (Tried with this disabled)
3 – BP Email to WP Mail From Bridge (Deactivated now)I have tried to find any
wp_mail
mentions within the plugins’ settings. Could not find any.1 email with mailgun disabled sent as HTML! I have to keep mailgun because delivery without mailgun are not being reliable.
So, it’s mailgun, will try to contact them for support.
Thank you for all the help 🙂
It’s not really a Mailgun support problem. It’s just that BuddyPress requires a different email interface to what WordPress needs. I hope in time people will build these for BuddyPress, but for now, you’ll need a developer to build it out for you.
If you know PHP and the basics of how to build with WordPress, I can give you hints.
Unfortunately no, I do not know php.
Thank you for the help.
@djpaul please can you provide me hints to rewrite wp-mail in mailgun. I have tried it myself but still the same problem. Mails sent through mailgun are not formatted as per format in buddy presss. All help would be highly appreciated.
if anyone else can help that would also be appreciated.
SendGrid is the way to go. They have a small wrapper that plays nice with BuddyPress’s wp_mail API stuff.
- You must be logged in to reply to this topic.