![](https://secure.gravatar.com/avatar/6d5b5578f6493e90ae0870933ecc7dc9.jpg?s=120&d=mm&r=g)
Hi guys, sorry for bother you, but have a question about the email configuration. After the update a few versions back work fine the alerts by email. But now not work, only work my integration with Slack, but i need the email alerts.
My configuration is this:
config.php
// Set up a default alerter (email to a single address)
$config['email']['default'] = "alarmas@tinitix.com"; $config['email']['from'] = "Alarmas alarmas@tinitix"; $config['email']['default_only'] = TRUE;
/include/defaults.inc.php
// Mailer backend Settings
$config['email']['enable'] = TRUE; // Enable/Disable email globally $config['email']['from'] = TRUE; // Mail from. Default: "Observium" <observium@`hostname`> $config['email']['default'] = TRUE; // Default alert recipient $config['email']['default_only'] = FALSE; // Only use default recipient (all alerts send to default recipient) $config['email']['graphs'] = TRUE; // Allow graphs in mail body $config['email']['backend'] = 'smtp'; // Mail backend. Allowed: "mail" (PHP's built-in), "sendmail", "smtp".
// sendmail backend specific options
$config['email']['sendmail_path'] = '/usr/sbin/sendmail'; // The location of the sendmail program.
// smtp backend specific options
$config['email']['smtp_host'] = 'my_ip_smtp_server'; // Outgoing SMTP server name. $config['email']['smtp_port'] = '465'; // The port to connect. $config['email']['smtp_timeout'] = '60'; // SMTP connection timeout in seconds. $config['email']['smtp_secure'] = 'ssl'; // Enable encryption. Use 'tls' or 'ssl' $config['email']['smtp_auth'] = TRUE; // Whether or not to use SMTP authentication. $config['email']['smtp_username'] = 'soporte@tinitix.com'; // SMTP username.
Thx. BR Santiago