As the others suggested, you need to specify your smtp where "server" is.
If your current server does SMTP, then set it to "localhost" Or, if your server doesn't have SMTP setup, you can use an IP of another smtp server or whatever ... such as "smtp.someserver.com" or "mail.someserver.com" ... depending on whatever the name is for your smtp provider. good luck, nicole www.aeontrek.com "Brian" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm using php 4.0, winXP(pro), OmniHTTPd Pro 2.0. > > i want to beable to have users register and then have my script send out an > email to them confirming registration. > i keep getting this error: > Warning: Failed to Connect in auth.php on line 168 > The code in auth.php is correct because i got it off a site where people had > success using it. > In my php.ini thing (im using the 'optimized' version thats included with > the download), heres my [mail function] stuff: > > SMTP = server ;for win32 only > sendmail_from = server ;for win32 only > ;sendmail_path = ;for unix only... > > Everything else works fine. > Any ideas? > > Thanks, > Brian > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]