Files
mkcertWeb/examples/email-outlook.env
Jeff Caldwell 950560c914 notifications!
2025-08-29 01:38:34 -04:00

35 lines
1.1 KiB
Bash

# Example Email Configuration for Outlook/Office 365
# 1. Enable email notifications
EMAIL_NOTIFICATIONS_ENABLED=true
# 2. Outlook SMTP Configuration
SMTP_HOST=smtp-mail.outlook.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@outlook.com
SMTP_PASSWORD=your-password # Regular password or app password if 2FA enabled
SMTP_TLS_REJECT_UNAUTHORIZED=true
# 3. Email settings
EMAIL_FROM=mkcert-web-ui@outlook.com
EMAIL_TO=admin@company.com,devops@company.com
EMAIL_SUBJECT=🔒 Certificate Expiry Alert - mkcert Web UI
# 4. Certificate Monitoring
CERT_MONITORING_ENABLED=true
CERT_CHECK_INTERVAL=0 9 * * 1 # Weekly on Mondays at 9 AM
CERT_WARNING_DAYS=45 # Start warnings 45 days before expiry
CERT_CRITICAL_DAYS=14 # Critical alerts 14 days before expiry
CERT_MONITOR_UPLOADED=true
# For Outlook.com/Hotmail:
# - Use smtp-mail.outlook.com
# - Port 587 with STARTTLS
# - Regular password works unless 2FA is enabled
# For Office 365 Corporate:
# - Use smtp.office365.com
# - Port 587 with STARTTLS
# - May require app passwords depending on organization policy