Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress Emails Default Text


  • LavishDhand
    Participant

    @lavishdhand

    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 />
    BP Emais

Viewing 15 replies - 1 through 15 (of 15 total)

  • Henry Wright
    Moderator

    @henrywright

    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?


    Henry Wright
    Moderator

    @henrywright

    Take a look at the bp_email_get_schema() function for the default messages used.


    LavishDhand
    Participant

    @lavishdhand

    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


    Henry Wright
    Moderator

    @henrywright

    That’s strange!

    Without customising anything, I see this on my install:

    Email template list

    @djpaul did all of the Email API heavy lifting, perhaps he knows if there should be items in the list by default?


    LavishDhand
    Participant

    @lavishdhand

    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


    Henry Wright
    Moderator

    @henrywright

    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.


    LavishDhand
    Participant

    @lavishdhand

    @henrywright

    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.


    LavishDhand
    Participant

    @lavishdhand

    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.


    LavishDhand
    Participant

    @lavishdhand

    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.


    LavishDhand
    Participant

    @lavishdhand

    Unfortunately no, I do not know php.

    Thank you for the help.


    waseemabbask
    Participant

    @waseemabbask

    @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.


    waseemabbask
    Participant

    @waseemabbask

    if anyone else can help that would also be appreciated.


    Damon Cook
    Participant

    @colorful-tones

    SendGrid is the way to go. They have a small wrapper that plays nice with BuddyPress’s wp_mail API stuff.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Skip to toolbar