laravel-mailbox icon indicating copy to clipboard operation
laravel-mailbox copied to clipboard

302 redirection for inbound email handling for real emails using Mailgun

Open Tiththa opened this issue 3 years ago • 4 comments

I am using laravel-mailbox on laravel 8 with mailgun driver. I only need to simply forward the email message. The setup works fine and successfully forwards the email as expected when using mailgun sample webhook but not with realworld emails. When an email is sent from gmail or other medium to the mailgun domain configured, application redirects with a 302 image image

to the root domain. I have tried clearing cache also adding the route laravel-mailbox/mailgun/mime to exclude csrftoken in the middleware, but no luck. Has anyone encountered this? Any help is greatly appreciated.

Tiththa avatar Jul 21 '22 07:07 Tiththa

@Tiththa can you share some code of your setup?

joelharkes avatar Aug 16 '22 05:08 joelharkes