From 487de38e4cf677a6c115232610d94b6cbcf504d4 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 8 Aug 2007 17:01:55 +0000 Subject: Fixed an example of comma-separated emails in the email library documentation --- user_guide/libraries/email.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'user_guide') 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 $this->load->library('email');

$this->email->from('your@your-site.com', 'Your Name');
-$this->email->to('someone@some-site.com');
-$this->email->cc('another@another-site.com');
-$this->email->bcc('them@their-site.com');
+$this->email->to('someone@example.com');
+$this->email->cc('another@another-example.com');
+$this->email->bcc('them@their-example.com');

$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
@@ -192,10 +192,11 @@ will NOT need to use the $this->email->initialize() function if you s

$this->email->to()

Sets the email address(s) of the recipient(s). Can be a single email, a comma-delimited list or an array:

-$this->email->to('someone@some-site.com'); -$this->email->to('one@some-site.com', 'two@some-site.com', 'three@some-site.com'); +$this->email->to('someone@example.com'); +$this->email->to('one@example.com, two@example.com, three@example.com'); -$list = array('one@some-site.com', 'two@some-site.com', 'three@some-site.com');

+$list = array('one@example.com', 'two@example.com', 'three@example.com');
+
$this->email->to($list);

$this->email->cc()

@@ -276,7 +277,7 @@ word wrapping within part of your message like this:

The text of your email that
gets wrapped normally.

-{unwrap}http://www.some-site.com/a_long_link_that_should_not_be_wrapped.html{/unwrap}
+{unwrap}http://www.example.com/a_long_link_that_should_not_be_wrapped.html{/unwrap}

More text that will be
wrapped normally.
-- cgit v1.2.3-24-g4f1b