summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/email.html
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-21 02:45:03 +0200
committeradmin <devnull@localhost>2006-09-21 02:45:03 +0200
commitec5a5a69d5e5a7e6f0c3c097ef5b7f72103fd426 (patch)
tree2ec80c5ce1b7ea22f71fc62cbf7aac764dbb833d /user_guide/libraries/email.html
parent9fc347d454af451d4251cc4f475f2e12c8a38a58 (diff)
Diffstat (limited to 'user_guide/libraries/email.html')
-rw-r--r--user_guide/libraries/email.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/user_guide/libraries/email.html b/user_guide/libraries/email.html
index 48d9d2388..4257df177 100644
--- a/user_guide/libraries/email.html
+++ b/user_guide/libraries/email.html
@@ -237,10 +237,19 @@ in a loop, permitting the data to be reset between cycles.</p>
&nbsp;&nbsp;&nbsp;&nbsp;$this->email->send();<br />
}</code>
+<p>If you set the parameter to TRUE any attachments will be cleared as well:</p>
+
+<code>$this->email->clear(TRUE);</code>
+
<h3>$this->email->send()</h3>
-<p>The Email sending function. Returns boolean TRUE or FALSE based on success for failure, enabling it to be used
-conditionally.</p>
+<p>The Email sending function. Returns boolean TRUE or FALSE based on success or failure, enabling it to be used
+conditionally:</p>
+
+<code>if ( ! $this->email->send())<br />
+{<br />
+&nbsp;&nbsp;&nbsp;&nbsp;// Generate error<br />
+}</code>
<h3>$this->email->attach()</h3>