spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Send campaigns not working #272

Closed marju212 closed 3 years ago

marju212 commented 3 years ago

Describe your issue

Campaign test mail is working fine but when I send the campaign the popup showing "send 1 mail" and will not close.

And the mail will not be sent. I also have unprocessed web hooks.

Im using postmark.

Rgds,

Marcus


Health check:

Environment: production Debug: OFF Horizon: Active Queue connection: OK Webhooks: 25 unprocessed webhooks Schedule: ran 0 minute(s) ago Default mailer: mailcoach Mailcoach mailer: null Campaign mailer: null Transactional mailer: null

Technical details

App directory: /home/forge/bloppa.nu/releases/20201101075842 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 PHP version: 7.4.11 MySQL version: 8.0.22 Laravel version: 8.12.3 Horizon version: v5.3.0@2d6e60011c3d58c86a6c38f03374167bb1232a0a laravel-mailcoach version: 3.2.9 mailcoach-ui version: 1.0.3

riasvdv commented 3 years ago

Could you check horizon (bloppa.nu/horizon) and see if there are any failed jobs and if there are, what the exception tells you?

marju212 commented 3 years ago

There aren't any failed jobs.

On Mon, 2 Nov 2020 at 08:59, Rias notifications@github.com wrote:

Could you check horizon (bloppa.nu/horizon) and see if there are any failed jobs and if there are, what the exception tells you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spatie/mailcoach-support/issues/272#issuecomment-720305744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGOOGRTDQEIIIMFPT7J2GLSNZRGJANCNFSM4TGYNOFA .

marju212 commented 3 years ago

Sending mail from settings page is working fine. Webhook test from postmark is ok. Nothing found in the laravel logs.

marju212 commented 3 years ago

Followed this guide, Horizon - Forge and Envoyer setup. https://medium.com/@driesvints/laravel-horizon-with-forge-and-envoyer-82a7e819d69f

marju212 commented 3 years ago

Any idea how to solve this?

riasvdv commented 3 years ago

Campaign test mail is working fine but when I send the campaign the popup showing "send 1 mail" and will not close.

So the popup never closes? Could you open your browser console and see if there are any errors after you click 'send'?

marju212 commented 3 years ago

No, no errors. I did a composer update, all my mailgun settings was erased? Sometimes I got a message flashing Horizon not running - but its ok on the debug page.

marju212 commented 3 years ago

Now I also got 'unauthorized' when sedning test mail. I used the Mailgun API credentials on the API security page.

marju212 commented 3 years ago

I changed to postmarkapp, now test mail is working but still no campaign sent.

riasvdv commented 3 years ago

Did you install using the DigitalOcean one-click or in a project of your own?

It seems like something is wrong with your Horizon configuration

marju212 commented 3 years ago

On my own - Forge and Envoyer setup. And Horizon: https://medium.com/@driesvints/laravel-horizon-with-forge-and-envoyer-82a7e819d69f

reefki commented 3 years ago

@marju212 I think you should click on that "Send 1 mail" text, it's actually a button to confirm sending..

marju212 commented 3 years ago

@reefki Thanks, now it works fine!