pentacent / keila

Open Source Newsletter Tool.
https://keila.io
GNU Affero General Public License v3.0
1.44k stars 81 forks source link

How to resume sending? #273

Closed KLISCHE-HW closed 8 months ago

KLISCHE-HW commented 8 months ago

Hi folks!

I created a newsletter with 2100 contacts.

slow sendrate: 35 msg/h Keila version: 0.14.0

Everything worked fine, until it reached 438 delivered mails. The sending process was stopped and now I want to resume the sending process or find out which contacts was successfull sent and retry to send a different campaign.

Unfortually I cant find how to resume sending or which contacts were executed.

wmnnd commented 8 months ago

There's currently no way to do this from the UI, but you can take a look at the mailings_recipients table (filter by campaign_id) to see which emails were sent and which ones weren't. Also, unless sending the emails actually failed, the sending process should automatically continue. You might get some insight from the oban_jobs table to see if some sending jobs are still pending and about to be retried.

KLISCHE-HW commented 8 months ago

Thank you very much for your very helpful and quick response.

I was able to find the issue in the database. The reason was a failed import of the contacts of many contacts.

The "email"-field in contacts contains first_name and last_name like "example@example.com;first_name;last_name".

KLISCHE-HW commented 8 months ago

Now I was able to import the contacs with a tag and added a segment with that tag to send the remaining unsent emails.

Thank you very much for your help!

wmnnd commented 8 months ago

I'm glad this worked! If you saw anything unusual in the logs or in the recipients/jobs table, please feel free to share, then I can try to take a closer look 😊