![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
CE has no ability to send mail.
adam. On 01/11/2015 17:02:10, George Philip gkonapoz@yahoo.com wrote: Hi,
I have installed the Observium CE on the centOS and the mail is not working for me.Can someone please in finding the issue ? Below are the mail config info from config.php :
// Set up a default alerter (email to a single address) $config['alerts']['alerter']['default']['descr'] = "Network Alert"; $config['alerts']['alerter']['default']['type'] = "mail"; $config['alerts']['alerter']['default']['contact'] = "network1_alert@abc.com"; $config['alerts']['alerter']['default']['enable'] = TRUE;
$config['email']['enable'] = TRUE; $config['email']['default'] = "network1_alert@abc.com"; $config['email']['default_only'] = TRUE; $config['email']['from'] = "Observiumobservium@abrrad100.abc.com"; $config['email']['backend'] = 'mail'; $config['email']['smtp_host'] = 'abrsmtp1001.abc.com'; $config['email']['smtp_port'] = 25; $config['email']['smtp_timeout'] = 20; $config['email']['smtp_secure'] = FALSE; $config['email']['smtp_auth'] = FALSE; $config['email']['smtp_username'] = NULL; $config['email']['smtp_password'] = NULL; $config['email']['sendmail_path'] = '/usr/sbin/sendmail';
Also,when I run the below command, I get the following error:
[root@abrrad1001 observium]# php test_mail.php -h abcd.tor.fd01.01.01.42 PHP Fatal error: Call to undefined function mres() in /opt/observium/test_mail.php on line 41
Thanks, George