mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.8k stars 360 forks source link

Email sent but 0 recipients #261

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

Hi, when I go to schedule my campaign and queue it - it works and is "sent" but the recipients are 0 even when I have a recipient which is tagged - any idea why would be much appreciated. Thank you! https://share.getcloudapp.com/ApuvAXmq

MattSharp commented 1 year ago

I have the exact same issue, did you manage to find any solution for this?

JonoB commented 1 year ago

Do you have the queue workers running?

https://sendportal.io/docs/v2/getting-started/configuration-and-setup#additional-configuration

MattSharp commented 1 year ago

Do you have the queue workers running?

https://sendportal.io/docs/v2/getting-started/configuration-and-setup#additional-configuration

queue workers are setup and running, if I send a manual test email they go through, but an actual campaign does not. They briefly stay as draft, then change to sent with 0 recipients, and mailjet has no record of them being sent

HeadStudios commented 1 year ago

One solution i found was replicating the sent campaign and then starting again... that worked for me.

drraccoony commented 1 year ago

I ran into this issue and learned that schedule:run isn't where the emails get dispatched throguh mail services, you also need to ensure php artisan queue:work --queue=sendportal-message-dispatch is constantly running and monitoring. Basically what @JonoB made mention of.

HeadStudios commented 1 year ago

I ran into this issue and learned that schedule:run isn't where the emails get dispatched throguh mail services, you also need to ensure php artisan queue:work --queue=sendportal-message-dispatch is constantly running and monitoring. Basically what @JonoB made mention of.

Thank you!