summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-06 10:19:50 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-06 10:19:50 +0200
commit6683c3c872952ae16d98c89ef474e5522897592a (patch)
treeeb2b8875455b0fbfe7c32c28d455465d60b8beb6 /user_guide_src/source/libraries
parente6e6eff842ce4314b9ae7f1442579a1dba355e8d (diff)
parentaa31f05646f177e587e1e4a0b74cb351bd98de84 (diff)
Merge pull request #1415 from mickeywu/develop
Made set_header() public in Email library and updated documentation.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/email.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst
index daf000907..f99eb91df 100644
--- a/user_guide_src/source/libraries/email.rst
+++ b/user_guide_src/source/libraries/email.rst
@@ -182,6 +182,14 @@ formatting which is added to the header string for people who do not
accept HTML email. If you do not set your own message CodeIgniter will
extract the message from your HTML email and strip the tags.
+$this->email->set_header()
+-----------------------
+
+Appends additional headers to the e-mail::
+
+ $this->email->set_header('Header1', 'Value1');
+ $this->email->set_header('Header2', 'Value2');
+
$this->email->clear()
---------------------