summaryrefslogtreecommitdiffstats
path: root/system/libraries/Email.php
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-07-30 10:44:57 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-07-30 10:44:57 +0200
commitb901e736a811907cea99dda9d06f656f526f5090 (patch)
tree83f644a4c3f475dcce63605136da7266ac239558 /system/libraries/Email.php
parentb92c44bba729575a92c80313174d45191cae582e (diff)
After sending an email clear the parameters
Diffstat (limited to 'system/libraries/Email.php')
-rw-r--r--system/libraries/Email.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index fdb9be4da..9d80f0720 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1257,11 +1257,15 @@ class CI_Email {
if ($this->bcc_batch_mode && count($this->_bcc_array) > $this->bcc_batch_size)
{
- return $this->batch_bcc_send();
+ $result = $this->batch_bcc_send();
+ $this->clear();
+ return $result;
}
$this->_build_message();
- return $this->_spool_email();
+ $result = $this->_spool_email();
+ $this->clear();
+ return $result;
}
// --------------------------------------------------------------------