annoncement notification get stuck as “pending”


Home Forums Front End PM PRO annoncement notification get stuck as “pending”

This topic is: Resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #45840
    Denis Marchand
    Participant

    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

    #45846
    Shamim Hasan
    Keymaster

    Can you please install a cron plugin (eg. WP Crontrol) and check if cron is firing correctly?

    #45852
    Denis Marchand
    Participant

    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.

    Thanks for your help

    Attachments:
    You must be logged in to view attached files.
    #45856
    Shamim Hasan
    Keymaster

    Can 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.

    #45859
    Denis Marchand
    Participant

    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?

    Thanks for your answwer

    #45861
    Shamim Hasan
    Keymaster

    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.

    #45864
    Denis Marchand
    Participant

    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.

    What could we do?
    Thanks for your answer

    Attachments:
    You must be logged in to view attached files.
    #45867
    Denis Marchand
    Participant

    Problem 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.

Viewing 8 posts - 1 through 8 (of 8 total)

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.