SMTP Notifier implements notifier for send SMTP notifications.
Configuration
The Subscription service using SMTP Notifier is configured using the environment variables presented in the
following table. Note that any unset variables will be replaced with their
default values.
Variable
Description
Default
MF_SMTP_NOTIFIER_LOG_LEVEL
Log level for SMT Notifier (debug, info, warn, error)
error
MF_SMTP_NOTIFIER_DB_HOST
Database host address
localhost
MF_SMTP_NOTIFIER_DB_PORT
Database host port
5432
MF_SMTP_NOTIFIER_DB_USER
Database user
mainflux
MF_SMTP_NOTIFIER_DB_PASS
Database password
mainflux
MF_SMTP_NOTIFIER_DB
Name of the database used by the service
subscriptions
MF_SMTP_NOTIFIER_CONFIG_PATH
Path to the config file with NATS subjects configuration