summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/email.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-08-08 19:01:55 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-08-08 19:01:55 +0200
commit487de38e4cf677a6c115232610d94b6cbcf504d4 (patch)
tree743dcb58b6463eefefdae2f9b707b6f9d794ac58 /user_guide/libraries/email.html
parent0debd35d9bf4d420ca8ac18cdac629f4fb40beb1 (diff)
Fixed an example of comma-separated emails in the email library documentation
Diffstat (limited to 'user_guide/libraries/email.html')
-rw-r--r--user_guide/libraries/email.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/user_guide/libraries/email.html b/user_guide/libraries/email.html
index d8d506574..3e8cc0e13 100644
--- a/user_guide/libraries/email.html
+++ b/user_guide/libraries/email.html
@@ -89,9 +89,9 @@ Email Class
<code>$this->load->library('email');<br />
<br />
$this->email->from('your@your-site.com', 'Your Name');<br />
-$this->email->to('someone@some-site.com'); <br />
-$this->email->cc('another@another-site.com'); <br />
-$this->email->bcc('them@their-site.com'); <br />
+$this->email->to('someone@example.com'); <br />
+$this->email->cc('another@another-example.com'); <br />
+$this->email->bcc('them@their-example.com'); <br />
<br />
$this->email->subject('Email Test');<br />
$this->email->message('Testing the email class.'); <br />
@@ -192,10 +192,11 @@ will NOT need to use the <dfn>$this->email->initialize()</dfn> function if you s
<h3>$this->email->to()</h3>
<p>Sets the email address(s) of the recipient(s). Can be a single email, a comma-delimited list or an array:</p>
-<code>$this->email->to('<var>someone@some-site.com</var>');</code>
-<code>$this->email->to('<var>one@some-site.com</var>', '<var>two@some-site.com</var>', '<var>three@some-site.com</var>');</code>
+<code>$this->email->to('<var>someone@example.com</var>');</code>
+<code>$this->email->to('<var>one@example.com</var>, <var>two@example.com</var>, <var>three@example.com</var>');</code>
-<code>$list = array('<var>one@some-site.com</var>', '<var>two@some-site.com</var>', '<var>three@some-site.com</var>');<br /><br />
+<code>$list = array('<var>one@example.com</var>', '<var>two@example.com</var>', '<var>three@example.com</var>');<br />
+<br />
$this->email->to(<var>$list</var>);</code>
<h3>$this->email->cc()</h3>
@@ -276,7 +277,7 @@ word wrapping within part of your message like this:</p>
<code>The text of your email that<br />
gets wrapped normally.<br />
<br />
-<var>{unwrap}</var>http://www.some-site.com/a_long_link_that_should_not_be_wrapped.html<var>{/unwrap}</var><br />
+<var>{unwrap}</var>http://www.example.com/a_long_link_that_should_not_be_wrapped.html<var>{/unwrap}</var><br />
<br />
More text that will be<br />
wrapped normally.</code>