Support » Plugin: BuddyPress Group Email Subscription » [Plugin: BuddyPress Group Email Subscription] Welcome Emails Are Not Being Sent

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

    (@boonebgorges)

    Which versions of the plugin/BP/WP are you running?

    grego3781

    (@grego3781)

    Plugin – 3.1.2
    BuddyPress – 1.5.5
    WordPress – 3.3.2

    Thanks!

    grego3781

    (@grego3781)

    I’ve tested this on a clean install of:

    Plugin – 3.1.2
    BuddyPress – 1.5.5
    WordPress – 3.3.2

    and I’m experiencing the same problem.

    Has anyone found a workaround?

    Thanks

    Plugin Author Boone Gorges

    (@boonebgorges)

    The feature is working properly.

    However, it’s possible that something is getting caught in a spam filter somewhere. One of the things this function does is set the ‘From:’ header in the outgoing email, to match the email address of the group admin. It may be the case that your outgoing email provider sees this kind of “spoofing” and sends the email directly to spam (or perhaps your *incoming* email provider puts it in the spam folder – check there too). In my case, the email was sent properly, but Gmail intercepted it on the receiving end and sent it to spam.

    As a test, you might try disabling this spoofed header. Open the file wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription.php and find the function ass_send_welcome_email(). At the end of that function, find the lines:

    $headers = array(
    		"From: \"{$group_admin->display_name}\" <{$group_admin->user_email}>"
    	);
    
    	wp_mail( $user->user_email, $subject, $message, $headers );

    Replace them with

    wp_mail( $user->user_email, $subject, $message );

    Then test the welcome email again. If it goes through this time, then the problem is indeed spam filters.

    grego3781

    (@grego3781)

    Hi Boone,

    The function that you are referring to actually resides in the following file:

    wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php Line: 1362

    I made the change that you recommended but still no luck. I also added a generic mail() function and that also was not triggered. It’s as if the ass_send_welcome_email() function is never called.

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: BuddyPress Group Email Subscription] Welcome Emails Are Not Being Sent’ is closed to new replies.