beyondcode / laravel-mailbox

Catch incoming emails in your Laravel application
https://beyondco.de/docs/laravel-mailbox/getting-started/introduction
MIT License
1.04k stars 127 forks source link

Mailbox routes missing in production: Mailgun 404 #120

Open 1jason1 opened 9 months ago

1jason1 commented 9 months ago

I need help, I'm stuck... I've used this package before and works great but today...

The issue im having is the routes, in development i see the route and it works. But on the production server the routes are not registered... ive cleared the routes, etc.. nothing.

Using the mailgun driver.

What could i be missing? Larave: 10.44.0 PHP: 8.1.27 Mail: mailgun Livewire: 3.3.5 Filament v3.2.34

This is the route list on dev, but route not there in prod.

route:list

POST       mailbox/mailgun/mime ............................. BeyondCode\Mailbox › MailgunController
1jason1 commented 9 months ago

Well... i had one of those 'cant see the forest cause of the trees' moments...

Just needed to set my .env = MAILBOX_DRIVER=mailgun 🤦🏼‍♂️