Enable email event notifications
StackState Self-hosted v4.5.x
This page describes StackState v4.5.x. The StackState 4.5 version range is End of Life (EOL) and no longer supported. We encourage customers still running the 4.5 version range to upgrade to a more recent release.
StackState can send an event notification by email whenever the health state of an entity or view changes. To enable email event notifications, the StackState configuration must include details of the SMTP server to use.
Kubernetes
Linux
- 1.Update the StackState configuration in
values.yaml
to include SMTP server details:stackstate:components:viewHealth:config: |stackstate{email {properties {"mail.smtp.auth" = "true" # "true" when user/pass provided"mail.smtp.starttls.enable" = "false" # use "true" for TLS}sender = "<EMAIL_SENDER_ADDRESS>"server {protocol = "smtp"host = "<SMTP_SERVER_HOST>"port = 25username = "XXX" # optionalpassword = "XXX" # optional}}} - 2.Restart StackState to apply the configuration changes.
- 3.
- 1.Update the StackState configuration file
application_stackstate.conf
to include SMTP server details:stackstate{...email {properties {"mail.smtp.auth" = "true" # "true" when user/pass provided"mail.smtp.starttls.enable" = "false" # use "true" for TLS}sender = "<EMAIL_SENDER_ADDRESS>"server {protocol = "smtp"host = "<SMTP_SERVER_HOST>"port = 25username = "XXX" # optionalpassword = "XXX" # optional}}...} - 2.Restart StackState to apply the configuration changes.
- 3.
Last modified 7mo ago