It never sends and i dont see anything in the email log.
//Alert $config['alerts']['alerter']['default']['descr'] = "Observium Email Alert"; $config['alerts']['alerter']['default']['type'] = "email"; $config['alerts']['alerter']['default']['contact'] = "tr@zitcom.dkmailto:tr@zitcom.dk"; $config['alerts']['alerter']['default']['enable'] = TRUE;
No emails are send on alerts
So I tried to change the email backend $config['email_backend'] = 'sendmail';
That did not help. So I did a test to check the php mail module.
<?php $to = "tr@zitcom.dk<mailto:tr@zitcom.dk>"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "test@mgmt3.network.zitcom.dk<mailto:test@mgmt3.network.zitcom.dk>"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?>
And that worked fine. What is the problem?
I have an alert in Observium ☺ [cid:image001.png@01CF1D04.808888E0]
Med venlig hilsen | Best regards Thomas Raabo Netværksansvarlig CCIE #33466 Zitcom A/S
Telefon: 70 40 00 00 E-mail: kontakt@zitcom.dkmailto:kontakt@zitcom.dk Direkte: 69 10 60 18 Direkte: tr@zitcom.dkmailto:tr@zitcom.dk
[cid:image005.jpg@01CEDC86.E897E480]http://www.zitcom.dk/