Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In case of failure, duplicate emails are sent #17

Open
robersonfaria opened this issue Jun 18, 2021 · 2 comments
Open

In case of failure, duplicate emails are sent #17

robersonfaria opened this issue Jun 18, 2021 · 2 comments

Comments

@robersonfaria
Copy link
Owner

When selecting to send email on success and failure, when a command fails, duplicate email is sent. I still haven't found a solution to the problem, apparently it's a behavior of the framework.

Case also interests @PedroPMS

@PedroPMS
Copy link
Contributor

The email output options doesn't provide a method to send the output only in case of succes.

emailOutputTo -> send the output regardless of the result

emailOutputOnFailureTo -> send output only on failure

I suggested a new method in laravel github the handle this case:

emailOutputOnSuccessTo -> send output only on success

Issue

@robersonfaria
Copy link
Owner Author

That's right, I was studying some way to create a new method or overwrite another one. But so far I haven't found a way.

Thanks for the open issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants