On Tuesday 31 December 2002 22:05, Edward Peloke wrote: > Hello all, > > For some reason, I have one computer running php that I can't get the mail > function to work on. I get this error: Warning: Failed to Receive in > c:\program files\apache group\apache\htdocs\mailtest.php on line 2 > > The machine is running windows and apache as the web server. In my php.ini > file, I have the smtp set to localhost. > > Any suggestions?
You're running Windows and you're telling PHP to use the SMTP server at localhost -- do you actually have an SMTP running on that same server? If not then you'll have to do the obvious, ie either install an SMTP server, or point php.ini to a valid server. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* I once decorated my apartment entirely in ten foot salad forks!! */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php