Page 1 of 1

problem connecting to Mailserver

Posted: Fri Aug 08, 2008 11:39 am
by rui_louis
Hello all,

I'm gonna make it short; I'm getting the following error:

Code: Select all

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\...\htmlMimeMail5\htmlMimeMail5.php on line 734
 
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\....php on line 401
When I tried to notify a user of his registration result by mail. My script used to work for 1 year or more, but all of a sudden, 2 day back, it started giving this error out. I did not change any server config (nor Apache, Nor php.ini). I got 2 registration or more everyday, so I knowm precisely that this used to work fine for this long and that it suddenly fail sending mail.

The only things I did during this time is installing Joomla 1.5.3, on the same server, on a different domain and folder.

I did google for an answer but nothing satisfying up to now.

Could someone be so kind to give me some clue?

thanks

Rui

Re: problem connecting to Mailserver

Posted: Fri Aug 08, 2008 11:45 am
by ghurtado
Sounds like your mail server took a dive.

Re: problem connecting to Mailserver

Posted: Fri Aug 08, 2008 8:17 pm
by rui_louis
Anf is there a way to check that/repear it ?

Re: problem connecting to Mailserver

Posted: Sat Aug 09, 2008 12:25 am
by susrisha
Two things to be checked:

I know u didnt change any configuration files but just to be sure.. check if the smtp port number in the php.ini is still the same..(25)

Second thing:

Do confirm with your service provider (Internet connection provider) if he has got a mailing system recently.. I had a similiar problem with SMTP. My internet Service Provider introduced a mailing service which blocks the port 25 for him and i cannot send emails through the same..