From 88c739e7c17edf99c68b7a139f84455c73c4c698 Mon Sep 17 00:00:00 2001 From: trit Date: Wed, 23 Nov 2011 17:46:52 -0500 Subject: Added an entry for the new Email::attach parameters --- user_guide_src/source/libraries/email.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'user_guide_src/source/libraries') 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() ------------------------------- -- cgit v1.2.3-24-g4f1b