mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
bugfix - stopped custom-header from accumulating while doing mass-mailing.
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/phpmailer/mailout_process.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/phpmailer/mailout_process.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2006-12-22 21:01:36 $
|
| $Date: 2007-02-17 18:18:50 $
|
||||||
| $Author: e107steved $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
@@ -202,7 +202,8 @@ if($_POST['cancel_emails']){
|
|||||||
|
|
||||||
stopwatch();
|
stopwatch();
|
||||||
|
|
||||||
while($row = $sql-> db_Fetch()){
|
while($row = $sql-> db_Fetch())
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
// ---------------------- Mailing Part. -------------------------------------->
|
// ---------------------- Mailing Part. -------------------------------------->
|
||||||
@@ -230,6 +231,7 @@ if($_POST['cancel_emails']){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$mail->ClearAddresses();
|
$mail->ClearAddresses();
|
||||||
|
$mail->ClearCustomHeaders();
|
||||||
|
|
||||||
|
|
||||||
// --------- End of the mailing. --------------------------------------------->
|
// --------- End of the mailing. --------------------------------------------->
|
||||||
|
Reference in New Issue
Block a user