From a few days when an annoucement is done the notification emails get stuck in pending. emails from other components of my site are sent normally. I use WPMailSMPT extension + mailgun provider.
By the past this already happened and we were able as a workaround to “fix” the problem modifyng the “email interval” setting. But this time, despite many changes in this setting, emails remains blocked.
Thanks for your answer. WP control is installed. You’ll find attached an excel export of cron task. I attached also a screenshot of annoucement table from FEPM extension.
From my understanding, the cron task seems to run (last instance fep_email_interval_event 20/01/24 19h32), but the emails remain stuck from 18/01/24 11h10.
As more detailed info 1st symptom was a delay in an annoucement email sending (announcement made on 16/01, email started on 18/01) and 13 emails remained “pending” from 120. I deleted this annoucement trying to purge the queue, so it’s not on the screenshot anymore. Then for the next announcement all emails were stuck.
This morning at 00h01 150 annoucement notification emails were delivered (150 accorded to the setting) one shot . From there nothing happened anymore. I changed (after this delivery) the setting of number of emails according your request but nothing happened. It really looks like the cron task is not lauched, or 1 time a day (and not every day) despite the setting in FEPM is 1 minute!
Could you tell me what cron tasks are involved in such annoucement email sending?
This plugin provided “Every 15 minutes” (fep_15_min) interval. Others are added by your other plugins/themes. So you can switch back to this.
event name is fep_email_interval_event.
Also please take note message get priority over announcement when sending queue emails. If you send message for more than 5 users (default set) it usages queue to send emails.
You can see class-fep-email-beautify.php file (email_interval_event_callback method) for code.
Now again emails get stuck.
Our WP hosting support deleted the cron table to re-create it. The new table also include fep event but it doesn’t start.
The support tried to launch in command line and the event gave back an error message, but logs didn’t give any more precise information:
“wp cron event run fep_email_interval_event
Error : Invalid cron event ‘fep_email_interval_event'”
You’l fin attached the cron tab list , old before delete, new after re-creation.
Our Cron did not fire regularly, as it should. We worked with our hosting provider to ensure that it kept awake and everything works fine now. It had nothing to do with Front End PM Pro.
Thanks for your help.