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

🚀 Feature: Configure SMTP via Environment Variables #124

Open
userbradley opened this issue Jan 18, 2025 · 2 comments
Open

🚀 Feature: Configure SMTP via Environment Variables #124

userbradley opened this issue Jan 18, 2025 · 2 comments
Labels
feature New feature or request

Comments

@userbradley
Copy link

Feature description

Ability to configure SMTP config via Environment variables

Pitch

It would be nice to be able to set the SMTP configuration from environment variables

Image

Something like the below

Variable Description
SMTP_HOST Mailserver Host
SMTP_PORT Port of the SMTP mail server
SMTP_USER Username of the SMTP account you wish to send emails as
SMTP_PASSWORD Password of the SMTP user you wish to send emails as
SMTP_TLS Should SMTP use TLS
SMTP_SKIP_CERT_VALIDATION Should validation on the SMTP certificate be validated

My use case comes as I am running this in Kubernetes, and I'd like to get as much config out the way in code as possible before logging in for the first time etc, also allows me to seamlessly rotate secrets in my secret manager of choice when it just restarts the pod when a k8s secret changes

@userbradley userbradley added the feature New feature or request label Jan 18, 2025
@stonith404
Copy link
Owner

I believe it’s more logical to allow all “Application Settings” to be defined via environment variables, rather than limiting this flexibility solely to SMTP configuration.

@userbradley
Copy link
Author

Yes I agree. I opened this issue whilst confirming SMTP haha!

But yes, I think being able to supply a yaml file or env variables would be preferable for all app settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants