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

Cannot leave MAIL_USERNAME and MAIL_PASSWORD unset #41

Open
misilot opened this issue Nov 7, 2022 · 1 comment
Open

Cannot leave MAIL_USERNAME and MAIL_PASSWORD unset #41

misilot opened this issue Nov 7, 2022 · 1 comment

Comments

@misilot
Copy link

misilot commented Nov 7, 2022

Hello,

It is very common that you don't need to authenticate to your mail server when using a smart/relay host setup.
However, when I try to leave them unset I get the following error.

MAIL_USERNAME
none is not an allowed value (type=type_error.none.not_allowed)
MAIL_PASSWORD
none is not an allowed value (type=type_error.none.not_allowed)

@m4skedbyte
Copy link

You can set them to an empty string and use USE_CREDENTIALS = false

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