$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.