{% extends "base.html" %} {% block title %}Email Settings{% endblock %} {% block content %}
SMTP configuration and security notification settings.
Values are loaded from environment variables — edit your
.env file to change them.
SMTP Configuration
Set via environment variables
SMTP_USER and
SMTP_PASSWORD to your .env file
to enable email sending.
Security Notifications
Emails sent automatically on security events
{{ label }}
{{ description }}
SECURITY_NOTIFICATIONS_ENABLED and
SECURITY_LOGIN_NOTIFICATIONS in your
.env file.
Send Test Email
Verify your SMTP configuration is working
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=you@gmail.com
SMTP_PASSWORD=app-password
SMTP_FROM_EMAIL=noreply@app.com
SMTP_FROM_NAME=MyApp
SECURITY_NOTIFICATIONS_ENABLED=true
SECURITY_LOGIN_NOTIFICATIONS=false