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

ExceptionMailer by default implements SchouldQueue #35

Open
LKnulp opened this issue Jul 10, 2019 · 4 comments
Open

ExceptionMailer by default implements SchouldQueue #35

LKnulp opened this issue Jul 10, 2019 · 4 comments

Comments

@LKnulp
Copy link

LKnulp commented Jul 10, 2019

Hi there,

I had some trouble with my laravel 5.8 sending no emails anymore.
That was pretty strange because a day before every mail was sent successfully.
Finally I noticed, that the ExceptionMailer-class of this package as well as my own mailable-classes implemented the ShouldQueue-interface.
In the meantime, while I was included the sneaker-package, I also setted up the queue in my project. Doing so, every mail was submitted to the queue without any hint for me that it will not be sent. There is no queue worker setted up yet.

My question is: Even if I set up a queue worker to process the queued emails, how can I specify on wich queue they are submitted? Currently they are all put on the "default"-queue. I don't want to run in trouble because a specific queue worker cannot process different entities on the "default"-queue.
A change of the package-vendor-code would be my last resort but maybe you have another idea or prepared feature.
I would really appreciate any hints on this issue.
Thanks!

@akaamitgupta
Copy link
Contributor

Right now sneaker doesn't support for providing different queue but this is the feature I would like to see in the package. I will try to work upon it on weekends meanwhile you can also submit a PR for this which is really appreciated.

N also if you dont want to use queues in your project then you can set queue_driver=sync in your .env file.

@LKnulp
Copy link
Author

LKnulp commented Jul 11, 2019 via email

@LKnulp
Copy link
Author

LKnulp commented Jul 11, 2019 via email

@akaamitgupta
Copy link
Contributor

Thanks for the PR. Please follow following link to submit the PR.

https://help.github.com/en/articles/creating-a-pull-request-from-a-fork

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