summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authortrit <tritrei@gmail.com>2011-11-23 23:46:52 +0100
committertrit <tritrei@gmail.com>2011-11-23 23:46:52 +0100
commit88c739e7c17edf99c68b7a139f84455c73c4c698 (patch)
tree6ada3527cf577ddcf89489b30d124466ce4c55d2 /user_guide_src
parentd52699842f598d185b1388f4c6b72d2d63e21e64 (diff)
Added an entry for the new Email::attach parameters
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/email.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst
index 759899242..66769a8dd 100644
--- a/user_guide_src/source/libraries/email.rst
+++ b/user_guide_src/source/libraries/email.rst
@@ -228,7 +228,11 @@ use the function multiple times. For example::
$this->email->attach('/path/to/photo2.jpg');
$this->email->attach('/path/to/photo3.jpg');
- $this->email->send();
+If you'd like to change the disposition or add a custom file name, use the second and third paramaters. Leaving the second parameter blank will default to attachment::
+
+ $this->email->attach('/path/to/photo1.jpg', 'inline');
+ $this->email->attach('/path/to/photo1.jpg', '', 'birthday.jpg');
+
$this->email->print_debugger()
-------------------------------