-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Mail configuration file for each tenant #965
Comments
You would build all that into your app's code at the tenant layer.
This would likely include things like:
|
Hello thanks for the valuable help.
Once all the configuration is done I receive a message in the console when I execute the following command: $ php artisan config: cache |
I faced a similar problem recently. Instead of using a Service Provider, use a Middleware. For some reason, the boot method on the Sevice Provider runs before a tenant has been identified. So use a middleware but make sure it is not global middleware on Kernel because it will run on every request. Assign that middleware to only one route that is going to trigger that email sending. |
Hello, how can I configure the sending of mail for each of the tenants? That each tenant manages its own mail configuration file
The text was updated successfully, but these errors were encountered: