Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Boone Gorges

    (@boonebgorges)

    The plugin uses wp_mail() to send its emails – the same method used by the rest of BuddyPress – which means that your SMTP plugin should catch them. Are the BPGES emails being sent *at all*?

    Thread Starter justmattb

    (@mwbarker)

    Yes, they are sent – but instead of being sent through the SMTP connection, they are sent through the web server itself (through phpmail). But everything else from the site (including standard BuddyPress emails) go through the SMTP server.

    Thread Starter justmattb

    (@mwbarker)

    Bear with me on this one since I have never worked with wp_mail() before. When I look at the code to actually send the email digests, it looks like they are going directly through PHPMailer and not through wp_mail():

    From bp-activity-subscription-digest.php

    // Send!
    $result = @$phpmailer->Send();

    Perhaps that is why the digest emails are not being sent through the SMTP plugin? It appears that the instant notifications that people are subscribed to are being sent correctly, so this is the only thing I can think of. Am I wrong?

    Plugin Author Boone Gorges

    (@boonebgorges)

    Crap, you’re right. I think this was a modification that would allow us to send these emails in HTML format. I’ve opened an issue to ask the other dev about it: https://github.com/boonebgorges/buddypress-group-email-subscription/issues/17

    I’ll report back when I have some conclusions.

    Thread Starter justmattb

    (@mwbarker)

    Just checking in to see if you had any conclusions yet. I didn’t see any response to your posting over at github, but wanted to check here just in case.

    Thanks!

    Thread Starter justmattb

    (@mwbarker)

    Appears to be resolved w/ latest update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: BuddyPress Group Email Subscription] How Emails are Sent’ is closed to new replies.