ID: 32411
Updated by: [EMAIL PROTECTED]
Reported By: mfaryad at maydaygroup dot com
-Status: Open
+Status: Bogus
Bug Type: *Mail Related
Operating System: Apache 1.3.27 Mode-SSL
PHP Version: 4.3.9
New Comment:
There's propably some broken HTML in your page which causes the actual
page getting loaded twice/more by the browser.
Not PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2005-03-22 17:19:19] mfaryad at maydaygroup dot com
Description:
------------
Hi,
Strangely in some cases the email is being sent twice to recipient, but
not always only sometimes.
Reproduce code:
---------------
$emailPrt = "[EMAIL PROTECTED]";
$subject = "Booking Confirmation Ref. - CN$bookingref";
$header="From: [EMAIL PROTECTED]";
$bk = "BOOKING HAS BEEN
MADE\n------------------------------------\nBooking ref is:
CN$cn\n------------------------------------\n";
$cusomerName="Customer Name:- ".$leadpassenger;
$customerEmail="Customer Email:- ".$email;
$customerTag="Customer Tag / adv_code :- ".$advCode;
$apRow2 = "Airport parking at $apLocation\nStart Date:
$apStartDate\nEnd Date: $apEndDate\n";
$productDetails =
$bk.$cusomerName."\n".$customerEmail."\n".$customerTag."\n".$clientTotal."\n"."Product
Details:". $htlRow." ".$crRow." ".$apRow2." ".$tiRow." ".$supp." ";
if($emailPrt)
{
mail($emailPrt,$subject,$productDetails,$header);
}
Expected result:
----------------
I should get an email at [EMAIL PROTECTED] as below
BOOKING HAS BEEN MADE
------------------------------------
Booking ref is: CN970546
------------------------------------
Customer Name:- Wilde/Michael/Mr
Customer Email:- [EMAIL PROTECTED]
Customer Tag / adv_code :- park
Total: �42.00
Product Details: Airport parking at EMA ECONOMY LONG STAY 7 (ON-SITE)
Start Date: 06.06.05 End Date: 13.06.05
Actual result:
--------------
In some cases it sends duplicate email, same email up 2 or 3 times its
strange, hope you guys can help.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32411&edit=1