vai_ron Posted November 22, 2006 Share Posted November 22, 2006 i'm new to php, i'm making an autoresponder, everytime i send a mail, i have an warning: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 C:\Program Files\xampp\htdocs\tutorials\email2.php on line 110could someomne help me with this one, i'll really appreciate it Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted November 22, 2006 Share Posted November 22, 2006 is mail set up on your web server?If it's not, then you need to set it up, or, as the error states, point it to a mailserver to use in php.ini.If it is, then something is wrong with it. Quote Link to comment Share on other sites More sharing options...
rotwyla98 Posted November 22, 2006 Share Posted November 22, 2006 cant send mail from a regular computer (even if you have XAMPP). Quote Link to comment Share on other sites More sharing options...
vai_ron Posted November 22, 2006 Author Share Posted November 22, 2006 i've just found out that the SMTP service in xampp is deactivated, apache is not an FTP server Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.