-
Notifications
You must be signed in to change notification settings - Fork 63
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
Template mailer settings query #7
Comments
hey @katherine-sussol , thanks for reporting this! That's a bug 😅. (It should be Also, there should be a Feel free to create a PR, otherwise, I can do it as well :-) We're going to make some changes which make it easier for these bug fixes to propagate to existing |
update dependencies
Great project, have enjoyed using it - thanks!
I've got a query about some of the mailer settings that are used in the project:
It looks like there's an environment variable,
SEND_EMAIL
checked here:create-rust-app/template/backend/mail/mod.rs
Line 27 in 321b726
But further down there is some validation that looks for a different environment variable
SEND_MAIL
:create-rust-app/template/backend/mail/mod.rs
Line 65 in 321b726
Was it intended for there to be two different settings to control separate behaviours? The check also appears to print an error message (that at face value sounds contradictory) if
SEND_MAIL
is set to true.The text was updated successfully, but these errors were encountered: