Hello, does anyone know which parameters need to be added within config.php to enable e-mail notifications. Also, where do I configure the backend settings? Is that in config.php as well?Below is what I got from the documentation and I was able to send a test e-mail from Observium, but not receive a message if a device was down when I tested that portion.Any help is appreciated. Thank you!Jacob
Email backend settings
$config['email']['enable'] = TRUE;Enable/Disable send email globally
$config['email']['from'] = NULL;Mail from. Default: "Observium" <observium@`hostname -f`>
$config['email']['default'] = NULL;Default alert recipient
$config['email']['default_only'] = FALSE;Only use default recipient (all alerts send to default recipient)
$config['email']['backend'] = 'mail';Mail backend. Allowed: "mail" (PHP's built-in), "sendmail", "smtp".
$config['email']['sendmail_path'] = '/usr/sbin/sendmail'; // The location of the sendmail program.Sendmail specific options
$config['email']['smtp_host'] = 'localhost'; // Outgoing SMTP server name. $config['email']['smtp_port'] = 25; // The port to connect. $config['email']['smtp_timeout'] = 10; // SMTP connection timeout in seconds. $config['email']['smtp_secure'] = NULL; // Enable encryption. Use 'tls' or 'ssl' $config['email']['smtp_auth'] = FALSE; // Whether or not to use SMTP authentication. $config['email']['smtp_username'] = NULL; // SMTP username. $config['email']['smtp_password'] = NULL; // Password for SMTP authentication.SMTP specific options
For test email settings use test_mail.php script from main observium dirrectory.