Support » Plugin: Email Subscribers & Newsletters » New ver doesn’t send new post notification immediately

  • Resolved marchinok

    (@marchinok)


    I noticed after upgrading the plugin, it does not send new post notification immediately anymore.

    The status is often stocked at “In Queue” for a while until I click the “Send Queued Emails Now”.

    I noticed that the “Send mail immediately when new post is published” setting is gone.

    I have been using this plugin for a while and functioning perfect as it sends notification emails immediately after new post is published.

    Please let me know how I can set it up as before.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I noticed this as well, any chance of setting up as before?

    This plugin uses the wordpress function wp_schedule_event (https://developer.wordpress.org/reference/functions/wp_schedule_event/) to trigger a sending of emails every hour, starting at the time, the plugin was activated. So please wait at least 1h until you can safely say, that the plugin does not send emails any more.

    As far as I can see it, currently the time interval of 1h is fix in code. If you want to have a quicker response time between posting and sending of email notifications, at the current development state of the plugin, you have to trigger the sending manually. Maybe the developers are listening to your requests and make this interval configurable, or introduce, as it was before, a “send immediately” option in the future.

    PS: If you want to check, if the event for sending emails have been registered correctly in wordpress you can use this plugin: https://www.wpbeginner.com/plugins/how-to-view-and-control-wordpress-cron-jobs/
    With this plugin you can check the hourly cron jobs and edit the job “es_cron_hourly”. Maybe set it to 5min., however this can impact the load of your server negatively or you’d face other negative consequences because the job might be re-triggered before the old one is finished!

    • This reply was modified 8 months, 1 week ago by olivermerk.
    Plugin Contributor Malay Ladu

    (@malayladu)

    @olivermerk Thank you for helping the community by explaining in detail. We really appreciate your efforts.

    Yes, we have removed “Send Emails immediately” option to send emails immediately as soon as you publish a post or send a newsletter. Instead, all emails are set in a queue. And with Email Subscribers 4.0.6, queued will be processed on every 15 minutes with WP Cron. @olivermerk Yes, 4.0.6 onwards, cron will run on every 15 minutes.

    Hope that helps.

    Plugin Contributor Malay Ladu

    (@malayladu)

    @marchinok @kevinagar

    Kindly, upgrade to the latest version of Email Subscribers. ES 4.0.6 onwards, emails will be sent on every 15 minutes.

    Hope that helps.

    I have upgraded the version and confirmed that it is sending every 15 min. It is so much better than every 60 min.

    Thank you for prompt response!

    Plugin Contributor Malay Ladu

    (@malayladu)

    @marchinok Thanks for the confirmation.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New ver doesn’t send new post notification immediately’ is closed to new replies.