yep and I still get the same error...I modified the ini file in my windows directory..I assume that is the right one. Eddie -----Original Message----- From: Marco Tabini [mailto:marcot@tabini.ca] Sent: Thursday, October 31, 2002 2:24 PM To: Edward Peloke Cc: php-db@lists.php.net Subject: Re: mail() Did you restart the server? Are you sure you modified the right php.ini? On Thu, 2002-10-31 at 14:53, Edward Peloke wrote: > I know this is off topic to the db list but.. > > > I am attempting to use the mail function. I have set the smtp in the > php.ini file to my smtp server but when I run the script, I get the error > Warning: Failed to Connect in c:\program files\apache > group\apache\htdocs\lg\nuser2.php on line 50 where line 50 is where the mail > function is called. Why is it still pointing to my localhost? I am running > it through apache and Win98. > > Thanks, > Eddie > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php