From f4fb1db458fab52d0493ead52c9ea7e01206eaa7 Mon Sep 17 00:00:00 2001 From: Joël Cox Date: Sun, 9 Oct 2011 18:39:39 +0200 Subject: Moved tutorial to new user guide directory. --- user_guide/helpers/email_helper.html | 102 ----------------------------------- 1 file changed, 102 deletions(-) delete mode 100644 user_guide/helpers/email_helper.html (limited to 'user_guide/helpers/email_helper.html') diff --git a/user_guide/helpers/email_helper.html b/user_guide/helpers/email_helper.html deleted file mode 100644 index 10730d7e4..000000000 --- a/user_guide/helpers/email_helper.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - -Email Helper : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 2.0.3

-
- - - - - - - - - - -
- - -
- - - -
- - -

Email Helper

- -

The Email Helper provides some assistive functions for working with Email. For a more robust email solution, see CodeIgniter's Email Class.

- -

Loading this Helper

- -

This helper is loaded using the following code:

-

$this->load->helper('email');

- -

The following functions are available:

- -

valid_email('email')

- -

Checks if an email is a correctly formatted email. Note that is doesn't actually prove the email will recieve mail, simply that it is a validly formed address.

-

It returns TRUE/FALSE

- $this->load->helper('email');
-
-if (valid_email('email@somesite.com'))
-{
-    echo 'email is valid';
-}
-else
-{
-    echo 'email is not valid';
-}
-

send_email('recipient', 'subject', 'message')

-

Sends an email using PHP's native mail() function. For a more robust email solution, see CodeIgniter's Email Class.

-
- - - - - - - \ No newline at end of file -- cgit v1.2.3-24-g4f1b