From ec5a5a69d5e5a7e6f0c3c097ef5b7f72103fd426 Mon Sep 17 00:00:00 2001 From: admin Date: Thu, 21 Sep 2006 00:45:03 +0000 Subject: --- user_guide/libraries/email.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'user_guide/libraries') 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.

    $this->email->send();
} +

If you set the parameter to TRUE any attachments will be cleared as well:

+ +$this->email->clear(TRUE); +

$this->email->send()

-

The Email sending function. Returns boolean TRUE or FALSE based on success for failure, enabling it to be used -conditionally.

+

The Email sending function. Returns boolean TRUE or FALSE based on success or failure, enabling it to be used +conditionally:

+ +if ( ! $this->email->send())
+{
+    // Generate error
+}

$this->email->attach()

-- cgit v1.2.3-24-g4f1b