Home › Forums › Front End PM PRO › annoncement notification get stuck as “pending”
Tagged: announcement, email, pending
- This topic has 7 replies, 2 voices, and was last updated 1 year ago by Denis Marchand.
-
AuthorPosts
-
January 19, 2024 at 11:48 pm #45840Denis MarchandParticipant
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.Could you please help me. Thanks
January 21, 2024 at 3:19 pm #45846Shamim HasanKeymasterCan you please install a cron plugin (eg. WP Crontrol) and check if cron is firing correctly?
January 21, 2024 at 11:34 pm #45852Denis MarchandParticipantThanks 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.
Thanks for your help
Attachments:You must be logged in to view attached files.January 22, 2024 at 11:46 am #45856Shamim HasanKeymasterCan you please reduce “Emails sent per interval” to 10 (for testing) in Front End PM PRO > Settings > Emails. Sometimes in some host email delivery is slow and get timeout there.
January 22, 2024 at 10:34 pm #45859Denis MarchandParticipantThis 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?
Thanks for your answwer
January 23, 2024 at 2:46 pm #45861Shamim HasanKeymasterThis 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 isfep_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.January 26, 2024 at 5:15 pm #45864Denis MarchandParticipantNow 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.
What could we do?
Thanks for your answerAttachments:You must be logged in to view attached files.January 27, 2024 at 6:15 pm #45867Denis MarchandParticipantProblem solved!
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.
Problem solved.
Thanks for your help. -
AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.