WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Group Email Subscription
Welcome Emails Are Not Being Sent (6 posts)

  1. grego3781
    Member
    Posted 2 years ago #

    Hello,

    In general, the plugin works fine. The only issue that I'm having is that Welcome Emails are not being sent out. All other emails are being sent out just fine.

    Has anyone else experienced this issue and if so, were you able to find a solution?

    http://wordpress.org/extend/plugins/buddypress-group-email-subscription/

  2. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

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

  3. grego3781
    Member
    Posted 2 years ago #

    Plugin - 3.1.2
    BuddyPress - 1.5.5
    WordPress - 3.3.2

    Thanks!

  4. grego3781
    Member
    Posted 2 years ago #

    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

  5. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    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.

  6. grego3781
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic