david_m
August 10th, 2007, 10:23 PM
Hey, I am trying to setup my SMTP for PHP to send mail. I have tried downloading a mail server and running it then registering on my phpBB forum I just install and you can see what is going on when i click register and it tries to send the email 5 times then stops.
My ISP is eircom.net. So then I try and register with a email with @eircom.net at the end and it sends perfectly.
They are somehow only allowing me to send it to other users of eircom.net no one else which is useless to me.
What are my options? Thanks.
Also when I changed php.ini from localhost to another SMTP host and saved it and tried to just use the basic mail() function for php and I get this error:
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:\Program Files\Abyss Web Server\htdocs\mail.php on line 2
Why does it say at localhost when I changed it to something else and saved it? There is 2 php.ini files and I editted the RECOMENDED one but I am not sure if it is.
My ISP is eircom.net. So then I try and register with a email with @eircom.net at the end and it sends perfectly.
They are somehow only allowing me to send it to other users of eircom.net no one else which is useless to me.
What are my options? Thanks.
Also when I changed php.ini from localhost to another SMTP host and saved it and tried to just use the basic mail() function for php and I get this error:
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:\Program Files\Abyss Web Server\htdocs\mail.php on line 2
Why does it say at localhost when I changed it to something else and saved it? There is 2 php.ini files and I editted the RECOMENDED one but I am not sure if it is.