Closed raamdev closed 7 years ago
@aptharsia Thanks for the continued updates.
@jaswsinc Anything come to mind when you review the reports from @aptharsia above? Maybe we need some more detailed logging routines to help diagnose this issue for site owners that seem to have issues with notifications being sent irregularly?
@aptharsia I just noticed that @bobinoz opened a separate GitHub issue explaining the same sort of irregular notification behavior; could you please post further updates about that in that other GitHub issue so that we can keep better track of this? See https://github.com/websharks/comment-mail/issues/317
@jaswsinc If you could post your thoughts over in https://github.com/websharks/comment-mail/issues/317 instead of here, that would be better. I think the core issue described here, with pending notifications never being sent, has been resolved after changing the way templates are parsed. Now the issue seems to be more about when notifications are sent.
This GitHub issue is getting really long and I think it's starting to stray from the issue that was originally reported, so I'd like to redirect things to https://github.com/websharks/comment-mail/issues/317 so that I can close this issue as of the next release.
@aptharsia Thank you.
@raamdev Copy that. I followed up in https://github.com/websharks/comment-mail/issues/317#issuecomment-261170566
Comment Mail v161118 has been released and includes changes from this GitHub Issue. See the v161118 announcement for further details.
This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#192).
I was testing Comment Mail Lite v151224 after importing StCR subscriptions when I tried posting two new replies to existing comments with subscriptions (i.e., I posted new replies to comments that had StCR subscriptions, which were imported into Comment Mail). The new Comment Mail subscriptions were created fine, and were connected to the appropriate imported StCR subscription, however the notifications for those new replies were never sent.
Looking at the Mail Queue, I noticed the two notifications were sitting there, unsent:
Notice the time on them... it had been ~45 minutes since the notifications were created and they still have not been sent. Here's what I tried to get the email queue to be processed:
_cron_comment_mail_queue_processor
event_cron_comment_mail_queue_processor
event.None of these things helped. The queued notifications remained queued and were not sent out.
Also, my PHP error log did not report any errors during this time.