did you restart apache? epeloke@echoma n.com (Edward To: <php-db@lists.php.net> Peloke) cc: Subject: mail() 10/31/2002 02:53 PM 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