Maybe you are sending a mail and then Queing another one, if that makes any sense.
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.
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.
The simple solution is don't use GET requests to send emails. It's a terrible thing to do.
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community