Re: [PHP4BETA] strange mail() behaviour
| From: | Stefan Sommer | Date: | Thu, 26 Aug 1999 13:59:32 +0000 |
| Subject: | Re: [PHP4BETA] strange mail() behaviour | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3758@lists.php.net to get a copy of this message | ||
The script worked for me, using xitami on a winNT box...
no matter if I comment or uncomment line 8.
Stefan
Tibor Simko wrote:
>
> 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?
--
Stefan Sommer http://www.roadkill.de
iguana@roadkill.de http://www.zombiefish.de