Allan, You need some kind of an SMTP server for mail() on Win32. Either find a free one that you can load on your machine for testing, or use your ISP's (or if you're at work, possibly their internal mail server) mailserver. Then point your php.ini's 'SMTP = ' line towards the mailserver.
Note that if you load an SMTP server on your localhost, it is possible that other mailservers won't take your mail - spam relay issues abound. Good luck. -Dash Nine megs for the secretaries fair, Seven megs for the hackers scarce, Five megs for the grads in smoky lairs, Three megs for system source; One disk to rule them all, One disk to bind them, One disk to hold the files And in the darkness grind 'em. On Sat, 11 Jan 2003, Allan Hardy wrote: > Hi, need just a bit of help or point in the right direction > I have a working php / apache/ mysql set up that I use to develop/test > application before hosting it. > > I've just started using the mail() function and it fails. > Failed to connect to mailserver, verify your "SMTP" setting in php.ini in > > I need to know what to set up for a local XP / Apache (1.3.) configuration? > > Allan > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php