Closed RicardoRamirezR closed 4 years ago
Where there any failed jobs? Do you see any exception in the log?
In the outbox tab there should be a button display with which you can retry sending mails.
Nothing! What I did was to send another campaign with the missing subscribers.
(how to mark this as completed)
The campaign thinks it has only 8084 subscribers has only one pending...
In failed there is only one job
But it is:
I don't know why, but it seems like there is an action missing in your config.
I've just released v2.11.2 of Mailcoach which will use the default action class if none is specified in the config file. Before contuinuing, make sure to upgrade to that version.
To me it seems strange that your job is halted midway in creating campaign sends. It makes me think that timeout of a job is not correctly configured. Make sure the timeout in the horizon and queue config files is set high enough. See: https://mailcoach.app/docs/v2/package/general/installation-and-setup#install-horizon
Make sure when you change config value to run
php artisan config:clear
and restart horizon by either starting your machine or running php artisan horizon:terminate
If that extra button to restart a campaign on the Outbox
tab of the campaign is not working, you should manually dispatch a SendCampaignJob
and pass it your campaign to the constructor. (You could put this all in an artisan command). Rest assured that this job will not sent mails to the 8047 that already got the mail.
Thank @freekmurze, um, no action is missing; I've sent another campaign right away to the missing 27,083 subscribers yesterday without any problem. Any way thank you!
I don't know why, but it seems like there is an action missing in your config.
I've just released v2.11.2 of Mailcoach which will use the default action class if none is specified in the config file. Before contuinuing, make sure to upgrade to that version.
@freekmurze I'm using a customized config for Mailcoach in my app so additions to the internal config aren't automatically applied, which could explain how this happens.
Using default values for new additions to the config if nothing is specified would be great going forward since I've been needing to manually copy them over to avoid issues after updating.
In normal circumstances new config options are merged automatically for people that do not have them. I think in this instance it went wrong because we added a value to an array.
This is still since two hour ago.
and SendCampaignJob is at Pending Jobs