Support the ongoing development of Laravel.io →
posted 10 years ago
Mail Queues
Last updated 2 years ago.
0

Maybe you are sending a mail and then Queing another one, if that makes any sense.

Last updated 2 years ago.
0

I'm having this same issue. it's consistently sending 3 emails. To make sure I wasn't doing anything weird, I built a test route to just fire off an email and it's doing the same thing there, too.

Any ideas?

I'm not currently using a queue, either.

Last updated 2 years ago.
0

This can be a reason why mail is sent multiple times. Browser requests the page before you press enter and if it's still not loaded after you hit enter it requests it again.

I would recommend to create an artisan command that will send an email and check it.

Last updated 2 years ago.
0

The simple solution is don't use GET requests to send emails. It's a terrible thing to do.

Last updated 2 years ago.
0

Did you find a solution to this?

0

evanomondi said:

Did you find a solution to this?

If it's because you are looking for one? Then there are already several written here.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

amityweb amityweb Joined 8 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.