mettle / sendportal

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

Campaigns Not Sending, Stuck in Draft #312

Open carallel opened 1 month ago

carallel commented 1 month ago

We're new to sendportal and are trying to send our first test campaign. We followed the directions for installation and the cron job is running every minute and picking up queued campaigns. However when we attempt to send to a group of subscribers with a specific tag, the campaign shows zero messages sent, and the messages show up under the subscriber's details as "draft." The campaign does move out of the queue and we have it set to send immediately.

Screenshot 2024-09-11 at 8 20 43 PM

Screenshot 2024-09-11 at 8 21 08 PM

JonoB commented 1 month ago

What did you choose for the Sending Behaviour?

CleanShot 2024-09-12 at 07 58 02@2x

carallel commented 1 month ago

Sending behavior was set to “Send Automatically”

Paul Strauss Chief Information Officer Carallel https://carallel.com

On Thu, Sep 12, 2024 at 1:59 AM Jon Behr @.***> wrote:

What did you choose for the Sending Behaviour?

@.*** (view on web) https://github.com/user-attachments/assets/3846e31e-bb8d-4323-a7a0-19a74f1462e7

— Reply to this email directly, view it on GitHub https://github.com/mettle/sendportal/issues/312#issuecomment-2345422887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH7S6O242WUPMKDBGGNPQW3ZWE3UBAVCNFSM6AAAAABOCDGA5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVGQZDEOBYG4 . You are receiving this because you authored the thread.Message ID: @.***>

-- The information contained in this communication is confidential and is intended only for the use of the addressee.  Unauthorized use, disclosure or copying of this communication or any part hereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify me by return e-mail, and destroy this communication and all copies thereof, including all attachments.

orrinsheppard commented 1 month ago

Chiming in here as I am help @carallel with this setup.

We got the campaigns to send successfully when using the "sync" queue driver. We did have it set to use our PGSQL DB when the issue was occurring. It looks like the "jobs' table does have the jobs, but the "attempts" column shows 0 on all of them.

JonoB commented 1 month ago

Have you followed the instructions under Message Sending & Queues in https://sendportal.io/docs/v2/getting-started/configuration-and-setup#additional-configuration

If you are not running the sync queue driver, then you must have queue workers running.