Hi

Newsletter editions are created even when After a maximum number of editions option is specified zero for the Scheduler settings.

Thanks

Comments

sgabe’s picture

That was a bug in the database query which should have return with the maximum number of editions in the simplenews_scheduler_new_edition() function. Fixed and committed, please check and report back!

whan’s picture

Hi

I have downloaded the new code and tried to send news letters at the specified date and time, this time the newsletter edition not being created again, but the newsletters are not being sent to the subscribed mail addresses. When I select
the send only option without scheduling option the Newsletters are sent to the subscribed addresses.

Thanks

sgabe’s picture

What settings did you try exactly? Is there anything in the watchdog regarding the failed sending or anything else?

whan’s picture

Hi Sgabe,

I have selected the Send newsletter according to schedule and set the date and time and the After a maximum number of editions option which is zero. I have run the cron manually after the specified date and time mentioned in the Newletter scheduler settings. The watchdog message reads "Newsletter not send: node does not exist (nid = ; vid = ).".

Thanks

sgabe’s picture

If you set the maximum to 0, there will be none newsletter sent. If you want to send a newsletter just once, you have to set the maximum to 1. The original node will be never sent just it's new editions. I think the deleted nodes and left behind newsletters cause the error message. You should try with a clean slate (empty the node and newsletter related tables in the database) and the correct settings.

whan’s picture

Status: Active » Fixed

Hi

The module works with the maximum no. of editions set to 1. I don't get the error message after emptying the table.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.