summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/email.rst
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2012-07-30 14:10:05 +0200
committerEric Barnes <eric@ericlbarnes.com>2012-07-30 14:10:05 +0200
commit4df0be86a3ee120e307d6140a9106e77a4962bb0 (patch)
tree901d005b951e11b17973fe2f3e4171dda04340b3 /user_guide_src/source/libraries/email.rst
parentb92c44bba729575a92c80313174d45191cae582e (diff)
parent5f441eaedf5fecbad29131c5d44e3c2d53c4c4b5 (diff)
Merge pull request #1672 from alexbilbie/alexbilbie-email-clear
Automatically clear email parameters if send was successful
Diffstat (limited to 'user_guide_src/source/libraries/email.rst')
-rw-r--r--user_guide_src/source/libraries/email.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst
index c5fa68004..f56bc2ff5 100644
--- a/user_guide_src/source/libraries/email.rst
+++ b/user_guide_src/source/libraries/email.rst
@@ -226,6 +226,14 @@ success or failure, enabling it to be used conditionally::
// Generate error
}
+This function will automatically clear all parameters if the request was
+ successful. To stop this behaviour pass FALSE::
+
+ if ($this->email->send(FALSE))
+ {
+ // Parameters won't be cleared
+ }
+
$this->email->attach()
----------------------