I use in my php scripts configuration files 'localhost' to get connected to the database. Works fine.
But the in same script > mail settings > I can not use 'localhost' to sent email. Getting this error:
0.66544400 1379291101 15-09-2013 19:25:01 (3)Mailer - [pear_error: message="unable to connect to smtp server localhost:25" code=0 mode=return level=notice prefix="" info=""]
If I change 'localhost' to '127.0.01' in mail settings , it works. Email will be sent?
I didn't change any whm/cpanel settings. Anybody throw some light on this?
thank you!
But the in same script > mail settings > I can not use 'localhost' to sent email. Getting this error:
0.66544400 1379291101 15-09-2013 19:25:01 (3)Mailer - [pear_error: message="unable to connect to smtp server localhost:25" code=0 mode=return level=notice prefix="" info=""]
If I change 'localhost' to '127.0.01' in mail settings , it works. Email will be sent?
I didn't change any whm/cpanel settings. Anybody throw some light on this?
thank you!