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

how to get it to work with Mailgun? It doesn't work (anymore)

Open vesper8 opened this issue 6 years ago • 5 comments

I swear I tested this about 9 months ago and I was able to receive an email through laravel-mailbox. Today I tried it again and this time I am getting Invalid Mailgun signature or timestamp., Url:https://api.redacted.com/laravel-mailbox/mailgun/mime errors

I'm using the HTTP webhook signing key which has to be the right one

I've gone inside the Mailgun Routes and set the forwarding to forward a copy to https://api.redacted.com/laravel-mailbox/mailgun/mime

I've followed the rest of the setup guide and I can't figure out what I'm doing wrong!

Can someone please help me out.. thanks!

vesper8 avatar Sep 27 '19 15:09 vesper8

Hey @vesper8

Did you manage to get it to work?

In a recent project I also couldn't get it to work at first, but after directing both Mailguns "store and notify" and "forward" options to the https://api.redacted.com/laravel-mailbox/mailgun/mime endpoint did work for me. Previously I only used the "store and notify" option in mailgun without forwarding.

I've used Mailgun's webhook key in the MAILBOX_MAILGUN_KEY environment variable.

Jhnbrn90 avatar Oct 19 '19 15:10 Jhnbrn90

Hey @vesper8

Did you manage to get it to work?

In a recent project I also couldn't get it to work at first, but after directing both Mailguns "store and notify" and "forward" options to the https://api.redacted.com/laravel-mailbox/mailgun/mime endpoint did work for me. Previously I only used the "store and notify" option in mailgun without forwarding.

I've used Mailgun's webhook key in the MAILBOX_MAILGUN_KEY environment variable.

This is how it works for me. Although I don't use "store and notify", I just forward it.

intellow avatar Mar 05 '20 16:03 intellow

now that Mailgun has ended its free tier and is now charging 30$ / months to use its routes and webhooks.. I would like to know of another free provider that works with laravel-mailbox if anyone knows of any please mention it in a comment

vesper8 avatar Mar 05 '20 18:03 vesper8

now that Mailgun has ended its free tier and is now charging 30$ / months to use its routes and webhooks.. I would like to know of another free provider that works with laravel-mailbox if anyone knows of any please mention it in a comment

Sendgrid could be an option

SomePlayer avatar Mar 18 '21 00:03 SomePlayer

I ended up using my MxRoute account. Don't know why I didn't do that before since I've been paying for it for years. It's great, so easy to set up too. Only for receiving not for sending, but that's perfect for laravel-mailbox

vesper8 avatar Mar 18 '21 10:03 vesper8