I have a formmail script that works both under Win32 as in Linux. It has a function email() that calls either mail() if in Win32 or sendmail() if in Linux... in Linux this sendmail() function works exactly as mail() but calling a popen() to sendmail... and it works fine.. but sometimes in Win mail() simply terminates the script and the email isn't sent. It's weird, it's like mail() had some internall error and had to quit the entire script execution, cuz nothing after the mail() funcion is called happens, and it does not give me any error message either... ____________________________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General 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]