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

Email config options #229

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

anjackson
Copy link
Collaborator

Roughly inspired by how Airflow does things: https://airflow.apache.org/docs/apache-airflow/stable/howto/email-config.html#using-default-smtp

This PR adds some more options to allow TLS to be switched off, allow connection to SMTP without logging in, and to make use of the specified port number.

Creating as a draft because:

Copy link
Contributor

@stavares843 stavares843 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor nitpick is that the comparison for the smtp_starttls environment variable should be case-insensitive, as the value is converted to lowercase before the comparison.
Another minor suggestion is to add some documentation to explain the new environment variables and their purpose.

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