Following is a list of all possible configuration variables.
SMTP_ADDRESS=smtp.yourhost.com
SMTP_EMAIL_FROM="[email protected]"
SMTP_EMAIL_TO="[email protected]"
SMTP_PORT=587
SMTP_DOMAIN=smtp.yourhost.com
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_USERNAME=ciao
SMTP_PASSWORD="sensitive_password"
SMTP_SSL=true
New as of 1.9.3
# Disable TLS expiration notifications via E-Mail for all checks
SMTP_DISABLE_TLS_EXPIRES_NOTIFICATIONS=true
- When
SMTP_ADDRESS
variable is not set no e-mail notifications are sent - You can send emails to several addresses by separating them with a comma eg.
SMTP_EMAIL_TO="[email protected],[email protected]"
Don’t forget to change [email protected]
to your email address and sensitive_password
to your own password.
If you encounter authentication errors, ensure you have allowed less secure apps to access the account.
SMTP_ADDRESS=smtp.gmail.com
SMTP_EMAIL_FROM="[email protected]"
SMTP_EMAIL_TO="[email protected]"
SMTP_PORT=587
SMTP_DOMAIN=smtp.yourhost.com
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_USERNAME="[email protected]"
SMTP_PASSWORD="sensitive_password"
Port 587 (STARTTLS)
SMTP_ADDRESS=smtp.sendgrid.net
SMTP_EMAIL_FROM="[email protected]"
SMTP_EMAIL_TO="[email protected]"
SMTP_PORT=587
SMTP_DOMAIN=smtp.yourhost.com
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_USERNAME=ciao
SMTP_PASSWORD="sensitive_password"
Port 465 (explicit SSL/TLS)
SMTP_ADDRESS=smtp.sendgrid.net
SMTP_EMAIL_FROM="[email protected]"
SMTP_EMAIL_TO="[email protected]"
SMTP_PORT=465
SMTP_DOMAIN=smtp.yourhost.com
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_USERNAME=ciao
SMTP_PASSWORD="sensitive_password"
SMTP_SSL=true