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

Set the default for mailer depending on the value of ecto #5789

Closed

Conversation

adonig
Copy link

@adonig adonig commented Apr 22, 2024

Sets the default value for the mailer binding (previously true) to the complement of the value of the ecto binding. That way the mailer gets disabled for Ecto projects by default but it is still possible to enable it using the --mailer command line flag. Fixes issue #5786.

@josevalim
Copy link
Member

Can you please look at the integration tests? thank you!

@adonig
Copy link
Author

adonig commented May 29, 2024

I can fix the failing tests by explicitly enabling the mailer but I think it is a bad idea. It fixes the problem with issue #5786 but it might break for people who rely on the mailer just always being enabled by default. I believe this is a wont-fix.

@adonig adonig closed this May 29, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants