summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/email.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/email.html')
-rw-r--r--user_guide/libraries/email.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/email.html b/user_guide/libraries/email.html
index e144826be..b863ef4c1 100644
--- a/user_guide/libraries/email.html
+++ b/user_guide/libraries/email.html
@@ -83,7 +83,7 @@ Email Class
<code>$this->load->library('email');<br />
<br />
-$this->email->from('your@example.com', 'Your Name');<br />
+$this->email->from('your@example.com', 'Your Name');<br />
$this->email->to('someone@example.com'); <br />
$this->email->cc('another@another-example.com'); <br />
$this->email->bcc('them@their-example.com'); <br />
@@ -233,7 +233,7 @@ in a loop, permitting the data to be reset between cycles.</p>
<code>foreach ($list as $name => $address)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;$this->email->clear();<br /><br />
-
+
&nbsp;&nbsp;&nbsp;&nbsp;$this->email->to($address);<br />
&nbsp;&nbsp;&nbsp;&nbsp;$this->email->from('your@example.com');<br />
&nbsp;&nbsp;&nbsp;&nbsp;$this->email->subject('Here is your info '.$name);<br />