Closed (fixed)
Project:
Simplenews
Version:
6.x-1.1
Component:
Usability
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2010 at 19:20 UTC
Updated:
13 Jul 2010 at 09:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
darrellhq commentedI am having this problem as well. My list of 9k+ member is stuck but another list of 500 member works perfectly. I wonder if I set something wrong.
Comment #2
sutharsan commentedThis is by design, yes realy. I have built the basics, simplenews has a database in which the status of outgoing emails are logged. But no interface has been built. Still I hope for someone to step forward to deliver code for a better interface or someone who likes to fund the development. Intill then you guys have to live with this.
Comment #3
wagafo commentedThis means that I can safely assume all emails have been sent, or that some of the last emails in the list of subscriptions are not sent and that's why it shows "Currently been sent by cron"?
Comment #4
sutharsan commentedThere are emails not sent. The simplenews_mail_spool table holds pending and recently sent mail adresses. Status = 1 is pending. The will be (re)sent during next cron.
Comment #5
wagafo commentedIn my case the table is empty but it still shows the "Currently being sent..." and the blue icon in /admin/content/simplenews/sent
Comment #6
sutharsan commentedPerhsos nothing was put into the table. But that is strange. The status should be updated by cron.
Comment #7
wagafo commentedI have four cron runs programmed to run each night, so there have been a lot of cron runs. It shows for the last two issues of my newsletter. I attach a screenshot, it's localized but you'll get the picture. If I can help debugging in any way please let me know.
Comment #8
sutharsan commentedsimplenews_send_status_update() should update the sent status of the newsletters. This function is called when cron is activated.
It is known that cron ran from command line, from a url in the browser and from Drush has different effects due to different permissions.
Comment #9
wagafo commentedIn my case it runs from a system cron run programmed to run each night. So I guess it is equivalent to "command line" run. I just did a "manual" run, but the messages are still there. I don't use Drush so I can't try that.
Comment #10
sutharsan commentedTry to run simplenews_send_status_update() manually. If that does not work you may have a database problem.
Comment #11
wagafo commentedI did it, and nothing, the messages are still there. The simplenews_mail_spool table looks OK as far as i can tell, but it has 0 rows.
Comment #12
sutharsan commentedDo you have any other simplenews modules enabled? Disable them and try again. If the problem persists you must debug your code. Can't help you further.
Comment #13
wagafo commentedNo, I don't have any other simplenews module installed. I use mime mail though to send html newsletters. I'll take a look at the code and try to figure out why it doesn't update the sent status despite the table being empty.
Comment #14
darrellhq commentedI have this problem too it only seems to happen when sending more then 500 emails anything above that appears to be stuck as it shows "Currently being sent..." However the emails have been sent but the status is not updated and does not give Feedback in newsletter statistics.
Comment #15
UNarmed commentedI have the same problem and i sent my email to 520 people ... i think the emails ended up at the subscribers but now there is no way to check the emails statistics because of this "Currently being sent by cron" issue =/
Comment #16
wagafo commentedThe emails ARE sent, I have more than 700 subscribers and I checked randomly in the list and the mails are sent correctly. I also checked the logs of the servers and everything is fine there, I see the email being sent. The problem is that the s_status field in the simplenews_newsletter is not changed to "2" when cron finishes sending the emails.
Comment #17
wagafo commentedIt seems that the last update of simplenews has fixed this, my last newsletter now shows as sent in the status column after being actually sent.