ID:               12142
 Comment by:       v_rane at crestindia dot com
 Reported By:      php at presedo dot com
 Status:           No Feedback
 Bug Type:         Mail related
 Operating System: linux and windows
 PHP Version:      4.0.6
 New Comment:

I HAVE MAIL RELATED PROBLEM I USED SCRIPT BELOW GOT RESULT AS OK BUT
STILL MAIL IS NOT RECEIVED


Previous Comments:
------------------------------------------------------------------------

[2002-07-05 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-06-02 13:45:40] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Is this still valid?

------------------------------------------------------------------------

[2001-07-13 10:37:10] php at presedo dot com

Hello,

Here is the problem

Make a file called pipo.php. Type this lines in it :

<?
if ($toto = mail("[EMAIL PROTECTED]", "That's a subject", "That's the
body"))
{echo "OK";}else{echo "Not OK";}
?> 

Then, I define some aliases on Apache config, so that all the request
that are done on a directory are redirected on a script  .. Like that


<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
ServerName xxx.xxx.com
DocumentRoot "d:/networks/site/"
Alias /static/ d:/networks/site/pipo.php/
</VirtualHost>

Now, if you call this url (http://xxx.xxx.com/static/) the request will
be send to the pipo.php file...If you do that, you can see "OK" on the
browser... 

And if you call directly the script (http://xxx.xxx.com/pipo.php), you
do have the same message (OK)...

BUT

When you receive the mail, with the first methode (alias) you receive 9
times the same mail !!!! And with the second method, the mail is
recieved only one time... 

Do you think this is a bug, or maybe a misconfiguration .

Thanks

Bob
Geneva, CH

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=12142&edit=1

Reply via email to