|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32411 Email being sent twice
Submitted: 2005-03-22 17:19 UTC Modified: 2005-03-22 18:31 UTC
From: mfaryad at maydaygroup dot com Assigned:
Status: Not a bug Package: *Mail Related
PHP Version: 4.3.9 OS: Apache 1.3.27 Mode-SSL
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mfaryad at maydaygroup dot com
New email:
PHP Version: OS:


 [2005-03-22 17:19 UTC] mfaryad at maydaygroup dot com

Strangely in some cases the email is being sent twice to recipient, but not always only sometimes.

Reproduce code:
$emailPrt = "";
	$subject = "Booking Confirmation Ref. - CN$bookingref";

	$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."  ";

Expected result:
I should get an email at as below

Booking ref is: CN970546
Customer Name:- Wilde/Michael/Mr
Customer Email:-
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-22 18:31 UTC]
There's propably some broken HTML in your page which causes the actual page getting loaded twice/more by the browser.
Not PHP bug.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 07:01:30 2024 UTC