• Hello,

    We have this amazing plugin running now with Jochem’s fix on two development sites, one at bluehost and the other at Media Temple. Everything works great.

    But, on another production site at MT, it is not sending the mail. Any guesses what environment variables would prevent the mail from going out? I have tested php mail and wp-mail separate from the plugin and they both work fine.

    Also, is it possible for one of us to post the fixed version to the SVN repo so others can download a working copy. Or to make the post with the fix in it a sticky post at the top of the list with a more appropriate title.

    This is a one of a kind plugin.

    Cheers,
    Karla

    https://wordpress.org/plugins/content-scheduler/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same problem. I’ve also applied Jochem’s fix, and it worked perfectly for a couple of weeks, but not now. It doesn’t send an email, and it also doesn’t seem to be expiring posts; I just saw one this morning that should have expired yesterday but hadn’t. I thought it might be a time zone/Daylight Saving Time issue, so I reset the expiration time back an hour, then two hours, and eventually 24 hours but the post just wouldn’t expire.

    I’m running WP 3.6 (yes, I know I should upgrade) so I don’t think anything has changed in WP; 3.6 doesn’t automatically apply minor WP upgrades like the newer versions do. Host is GoDaddy. Any help would be much appreciated!

    Thread Starter karlazz

    (@karlazz)

    If it is not expiring posts, then it won’t send emails. At one point, our installation was not expiring posts and I looked at wp-cron. There is a plugin called wp-crontrol which is very helpful and lets you see when wp-cron last ran and you can kind of see if it is not running as you expected.

    In the end, I set define( ‘ALTERNATE_WP_CRON’, true ); in wp-config.php and that worked. When you do that, you will start to see a “doingcron” string on your URLs. I tuned that by telling the content scheduler to check for expiring posts only once an hour.

    See if that clears up your troubles. Once I had posts expiring, there was no emails, and that was related to a system configuration that I worked with the operations manager to resolve. So first, get your posts to expire!

    Regards,
    Karla

    JochenT

    (@jochent)

    If you don’t like to see the “doingcron” string on your URLs you may use external cron requests which is offered by some websites for free. Look at Google for “cron job service”.

    To let cron run every 5 minutes use a string like
    */5 * * * * wget http://your_wp_home_url/wp-cron.php /dev/null 2>&1
    or
    */5 * * * * curl -L -s http://your_wp_home_url/wp-cron.php > /dev/null 2>&1

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No email being sent’ is closed to new replies.