Events Made Easy › Forums › How do I … › Pb sending queued mail
- This topic has 21 replies, 3 voices, and was last updated 3 years, 8 months ago by Anonymous.
-
AuthorPosts
-
Fri 19 Mar 2021 at 18:15 #62391AnonymousInactive
Hi Franky
Mails are set to be queued. I then set the queue to send emails every 5 minutes. But I notice that this sending setting is lost regularly and the mails are stored without being sent. Do you have any idea what I can do? I don’t know if it’s a bug?
FrédéricFri 19 Mar 2021 at 18:28 #62392FrankyKeymaster“this sending setting is lost regularly and the mails are stored without being sent” ???
What do you mean exactly? I’ve been using sites with queueing all the time and never lost the queueing setting at all. EME never resets options either, only if the plugin is completely reinstalled. Is there a way to describe exactly what is happening? Reproducable?Fri 19 Mar 2021 at 18:38 #62393AnonymousInactiveThe Mail queueing is activated. In the menu “schedule actions” the limit is set to 120 and the interval to five minutes. But one or days later when i check this setting it is set to “Not scheduled”. It seems to me my setting has been reset.
Fri 19 Mar 2021 at 18:57 #62394AnonymousInactiveWhen I schedule a generic email to be sent every Wednesday during 4 weeks, is it possible that the setting is reset to “not squeduled” at that time? or if I cancel a previous plan? I will control that the next time i will schedule or cancel one. I can’t say it is reproducable now.
Fri 19 Mar 2021 at 21:41 #62396FrankyKeymasterWell, I only clear the scheduled “eme_cron_send_queued” setting when either uninstalling the plugin or just before updating that setting (to be sure I don’t execute it multiple times).
You can verify the code (search for “wp_clear_scheduled_hook” and “eme_cron_send_queued”) if you’d like (I’m always open to code improvements too …).Fri 19 Mar 2021 at 21:57 #62397AnonymousInactiveThank you. I’m not sure if my php skills allow me to see this clearly. I’ll look into it and especially watch if it happens again. Thanks again for the quick responses.
Fri 19 Mar 2021 at 22:09 #62398FrankyKeymasterok, next time try to pinpoint the exact setting (maybe it isn’t the schedule itself, but another setting)
Sat 20 Mar 2021 at 11:16 #62400AnonymousInactiveHi Franky
This morning, without doing anything else, I check the setting of scheduled actions that I had set to “every five minutes” but the settings were back to “not scheduled”. Two further mails (confirmation of booking) were queued and should have been sent. I set again “every five minutes” and the two mails were sent. So I think there a little bug.Sat 20 Mar 2021 at 11:24 #62401AnonymousInactiveI also use your scheduling tip that informs a group of people that a new event has been scheduled. This was the case this morning and the mailing is immediate and worked very well. But could this change my settings?
Sat 20 Mar 2021 at 14:27 #62402FrankyKeymasterDo you have any other plugins that might interact with scheduled actions? But more: if you haven’t changed anything, it is just impossible the setting gets reset …
To be sure: are you on the last version of both EME and WP?Sat 20 Mar 2021 at 14:36 #62404FrankyKeymasterBtw: you can install a plugin like “Advanced Cron Manager” or any cron plugin from WP to verify the current planned actions. You should see some entries starting with “eme_” in there.
Sat 20 Mar 2021 at 14:38 #62405AnonymousInactiveI also use MailPoët and WP Mail Catcher. I check the web log of my provider. But i don’t know what I am looking for. Before it worked fine the pb is maybe for 2 ou 3 versions. I have the last versions for all WP and my plugins. I am looking for…
Sat 20 Mar 2021 at 14:46 #62406FrankyKeymasterIf EME gets disabled, then that setting goes to “unplanned” on the next reactivation. Can that be somehow the case? I’m pretty much in the dark here too, there is just no explanation for this (nor do I see this on any of the sites I manage).
Sat 20 Mar 2021 at 14:48 #62407AnonymousInactiveNo EME is never disabled. Would you have an admin access ?
Sat 20 Mar 2021 at 15:56 #62408AnonymousInactiveWho could change the cron events programming except me and EME?
Sat 20 Mar 2021 at 17:16 #62409FrankyKeymasterIf EME gets deactivated/reactivated then this setting is also gone (next to other EME related schedules). The next version will fix that, but if that’ not the reason for you, then you need to go through your logs and try to find something. Maybe some plugin is deactivating EME temporary or so …?
Sat 20 Mar 2021 at 20:11 #62410FrankyKeymasterI’ve updated the code a bit (not that it would explain your problem), but if it continues to happen: try updating to the dev version.
Sun 21 Mar 2021 at 16:15 #62414AnonymousInactiveHi Franky
A little note to keep you informed. I haven’t had any new deprogramming since yesterday morning. I haven’t found the cause of my worries. I have unloaded two plugins that I was not using very much Yoast SEO and Schort Code Ultimate. I also deleted some CRON tasks without action. Some came back but not all. Maybe among them… ? unlikely.
In doubt I also worked on Asset CleanUp which allows me not to load JS and CSS files of some plugins when they are not used on the page.I was unloading these EME files on some pages while I had the EME calendar widget in the margin. This may be unrelated…
I removed the automatic update for EME…
Nothing very conclusive, I continue to monitor and of course I come back in case of recurrence. I have not yet installed the development version.
Good end of daySun 21 Mar 2021 at 16:23 #62415FrankyKeymasterAll my sites have automatic updates enabled, and that shouldn’t pose any problem at all.
Maybe monitor the cron tasks and next time it goes to “unscheduled” check if any eme-related cron tasks still exist.Thu 25 Mar 2021 at 11:39 #62420AnonymousInactiveHi Franky
After 2 days without difficulties I encountered the same problem again. I had to choose the send setting again every 5 minutes. I didn’t think to check the CRON tasks before but afterwards here are the ones running:
eme_cron_cleanup_captacha
eme_cron_gdpr_daily_actions
eme_cron_member_daily_actions
eme_cron_send_queued
I’ll install the development version to see if it improves the problem.
Have a nice day
FrédéricThu 25 Mar 2021 at 12:23 #62421FrankyKeymasterThe dev is not needed, just the latest released version (was released some days ago).
Thu 25 Mar 2021 at 13:11 #62422AnonymousInactiveI am uptodate
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.