Rache Posted December 27, 2011 Share Posted December 27, 2011 When i was testing out the "Forgot Password" part, after i entered the email, i got an error message saying, "An error occurred in script 'C:\xampp\htdocs\forgot_password.php' on line 44: 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()". I don't know what to do to fix this problem. I need to know what it means and how to fix it. Link to comment Share on other sites More sharing options...
Jonathon Posted December 27, 2011 Share Posted December 27, 2011 I sent you a link for this on your other post (i think) Link to comment Share on other sites More sharing options...
Rache Posted December 27, 2011 Author Share Posted December 27, 2011 yeeeaaa i remember, i have a problem with locatiing that file i keep hearing about that, "php.ini" do i have to create it? or is it already put somewhere? if so, then where? I have looked for it before, but couldn't find it...maybe i was searching in the wrong areas . Link to comment Share on other sites More sharing options...
Jonathon Posted December 27, 2011 Share Posted December 27, 2011 its inside C:\xampp\php\php.ini it's already created. Follow that tutorial and it worked for me, you only have to edit about 3 lines of it. You possibly wont know so i'll tell you njow, basically the ini file configures lots of stuff, things with a semi-colon " ; " are affecting commenting out commands, so when you remove the semi-colon the line becomes active so to speak. Link to comment Share on other sites More sharing options...
Rache Posted December 27, 2011 Author Share Posted December 27, 2011 ok how do i find out what my, "the smtp server name of your ISP" is? Link to comment Share on other sites More sharing options...
Jonathon Posted December 27, 2011 Share Posted December 27, 2011 Well who is your service provider? If it's orange or something like that just Google what's oranage's SMTP server. its probably something as simple as smtp.orange.co.uk Link to comment Share on other sites More sharing options...
Rache Posted December 27, 2011 Author Share Posted December 27, 2011 well, I'm not sure really, as far as browsers go i use internet explorer mainly, and as far as email goes i use yahoo. Service provider? like who lets me have access to internet, example: AT&T? Link to comment Share on other sites More sharing options...
Jonathon Posted December 27, 2011 Share Posted December 27, 2011 yeah who provides your internet Link to comment Share on other sites More sharing options...
Rache Posted December 27, 2011 Author Share Posted December 27, 2011 At the moment I am using the Library's internet Link to comment Share on other sites More sharing options...
Rache Posted December 27, 2011 Author Share Posted December 27, 2011 but i was previously using AT&T Link to comment Share on other sites More sharing options...
Jonathon Posted December 27, 2011 Share Posted December 27, 2011 Well at ur own computer or wherever you use xampp you need to find out who provides the internet and google I guess for the smtp server address. Link to comment Share on other sites More sharing options...
Rache Posted December 28, 2011 Author Share Posted December 28, 2011 okie dokie i think i got it finally. found the same words needed. ty for your help, and srry for taking a long time to find this. Link to comment Share on other sites More sharing options...
Recommended Posts