It's very possible that they're not letting you relay through them since you're not providing any authentication for that mail server but just trying to send (as far as it can tell) "random mail from an unknown sender". The mail server can't tell the difference from your script from that of any other one on the internet unless your ISP uses an IP-based accept list. I would give them a quick call to see what sort of authentication they require and if you'll be able to use their mail server for this activity. Regards Michael Brum -----Original Message----- From: Anthony Ritter [mailto:tony@gonefishingguideservice.com] Sent: Wednesday, January 07, 2004 1:12 AM To: php-windows@lists.php.net Subject: mail() Using php/apache/mysql I am testing an mail script. The script has a .html form which receives the text input and then a .php script to execute the variables in a mail() function. When I publish both files - the .html and .php - to my ISP's server and enter the data and hit submit I receive an e-mail. In my php.ini file I have configured the SMTP to the name of the ISP's email server. However, when testing the same script out locally on Apache Server: I get the form box, enter the data but I do not receive an email. I only use one ISP. Is it possble they have two name servers and that is why I am not receiving an e-mail when testing on Apache Server? Thank you for any help. Best... Tony Ritter -- 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