strange mail() behaviour

From: Date: Thu, 26 Aug 1999 13:50:27 +0000
Subject: strange mail() behaviour
Groups: php.version4 
Request: Send a blank email to php-version4+get-3756@lists.php.net to get a copy of this message
Hi: When I uncomment line #8 in the following script... ,-------- | <html> | <head><title>PHP Script</title></head> | <body> | <?php | echo "hello<br>"; | mail("foo@bar.com","test1","hello1"); | //echo ls; | //echo system("ls"); | mail("foo@bar.com","test2","hello2"); | echo "<br>bye"; | ?> | </body> | </html> `-------- ...it works as expected (2 emails are sent). When I comment it again, no email is sent. When I uncomment line #7, the first email is sent only. Looking in log files does not give any clue. How can I diagnose the problem further? -TS P.S. Apache/1.3.9 - PHP/4.0B2 - Solaris 2.5.1

« previous php.version4 (#3756) next »