johnnyasterisk
IS-IT--Management
So here is one of those issues that I really hate.....
Appreciate anyones time if you can help.
I have a php script setup to send a blank email through my mail server. The script is called send_alert.php
When I run in from the CLI like so:
php send_alert.php
The email sends fine.
However when I try to browse to the send_alert.php file i get the following:
Failed to connect to mail.mailserver.ie:25 [SMTP: Failed to connect socket: Permission denied (code: -1, response: )]
I have confirmed that I can Telnet to port 25 on my mail server and it works fine from command line. Anyone else had this?
Regards,
Johnny
Appreciate anyones time if you can help.
I have a php script setup to send a blank email through my mail server. The script is called send_alert.php
When I run in from the CLI like so:
php send_alert.php
The email sends fine.
However when I try to browse to the send_alert.php file i get the following:
Failed to connect to mail.mailserver.ie:25 [SMTP: Failed to connect socket: Permission denied (code: -1, response: )]
I have confirmed that I can Telnet to port 25 on my mail server and it works fine from command line. Anyone else had this?
Regards,
Johnny