![](https://secure.gravatar.com/avatar/e4e98bde6e2cbfdde3351a139851d8f7.jpg?s=120&d=mm&r=g)
Hello,
I was able to get some alert checks going but email doesn't seem to be working.
When I try the test_mail.php script it eventually times out giving me the following.
./test_mail.php -h fwtec.sup.domain.local
Sending test notification for fwtec.sup.domain.local...Mailer Error: Failed to connect to myemailserverl.protection.outook.com:25 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )] done.
my config.php has the following for email settings.
$config['alerts']['email']['default'] = "xxx@mydomain"; $config['email_from'] = "Observium observium@mydomain.com"; $config['email_backend'] = "smtp"; $config['email_smtp_host'] = 'mymaildoman.protection.outook.com'; $config['email_smtp_port'] = 25; $config['alerts']['email']['enable'] = TRUE; $config['email_smtp_auth'] = TRUE; $config['email_smtp_username'] = 'xxx@mydomain'; $config['email_smtp_password'] = 'xxxx'; $config['email_smtp_timeout'] = 10;
I am able to successfully telnet to my email server on port 25 but can't seem to send.
What am i Missing?