WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Group Email Subscription
[resolved] daily digest not sending (7 posts)

  1. tvansant
    Member
    Posted 2 years ago #

    The Daily Digest email is not sending. When I had All Email selected I got emails. When I look at the ?sum=1 page it shows the activity that should be in the email. The scheduled time passed and I waited a day just to see if it would trigger on the second time. Info is still on the ?sum=1 page and still no email.

    I don't know whether this is related, but we had a previous issue with a scheduled post that did not go live. We used a Missed Schedule plugin to get it to post, but that plugin interfered with the RSS feed for the site so we deactivated it.

    Is there a way to manually trigger a scheduled email? If so, will it trigger for all users at once?

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

  2. hughes.chad
    Member
    Posted 2 years ago #

    Seeing the same issue here. I don't know if I'm supposed to be kicking of the digest emails through a cron job, or can we force this to kick off manually for testing?

  3. hughes.chad
    Member
    Posted 2 years ago #

    Contacted Boone directly and with his help we resolved this issue.

    The trigger happens with your wp-cron.php file. For testing, I disabled this from kicking off on its own by editing wp-config.php to include:

    define('DISABLE_WP_CRON', true);

    Then we could reliable kick of the script manually via http://mysite/wp-cron.php

    To test the email digest reliably, set the "Group Email Options" time to send digests a few minutes in the future. (**Heads up, it seems this plugin doesn't correctly calculate local time, so accommodate the UTC time offset when setting the time to send the digest mail).

    When the time to send the digest rolls around, open your digest queue in one window, kickoff WP-Cron in another, and wait a few minutes. After a few minutes you should be able to refresh your email digest queue to see emails removed from the digest list, and if there is an error on WP-Cron or the mail function you will see this in the other window. (the one running running wp-cron.php).

    We got:
    "could not instantiate mail function. could not instantiate mail function"

    After some digging we found out that the BuddyPress group email plugin could not use the WP SMTP plugin we've been using for email. I don't know if the fault is on WP, BP, the WP SMTP plugin, or the BP email plugin, but the resolution for us was to configure the PHP mail() function. This wasn't an ideal solution, but it does do the job.

    Also, we left the wp-cron out of wp-config.php and we are now triggering this through a local schedule.

    Hope this helps.

  4. tvansant
    Member
    Posted 2 years ago #

    Thank you, hughes.chad for your assistance. That solution doesn't work for me either. I'll poke around and see if I can find another way and I'll post here if I find something. For now I'm going to report the plugin as broken.

  5. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    tvansant - Check to see whether wp-cron is working by attempting to schedule a blog post to publish in the future, and then see whether it works.

    If it does not, then the problem is outside the scope of this plugin. Try putting this in your wp-config.php file:

    define( 'ALTERNATE_WP_CRON', true );

  6. tvansant
    Member
    Posted 2 years ago #

    Thank you, Boone Gorges. I'll see what I can work out.

  7. tvansant
    Member
    Posted 2 years ago #

    We moved the site to a new server and the email functions all appear to be working now. Still not sure exactly what the problem was.

    The change option pop-up box does still not display properly with the Suffusion theme. It gets hidden by another layer.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic