diff options
author | trit <tritrei@gmail.com> | 2011-11-23 23:46:52 +0100 |
---|---|---|
committer | trit <tritrei@gmail.com> | 2011-11-23 23:46:52 +0100 |
commit | 88c739e7c17edf99c68b7a139f84455c73c4c698 (patch) | |
tree | 6ada3527cf577ddcf89489b30d124466ce4c55d2 /user_guide_src/source/libraries/email.rst | |
parent | d52699842f598d185b1388f4c6b72d2d63e21e64 (diff) |
Added an entry for the new Email::attach parameters
Diffstat (limited to 'user_guide_src/source/libraries/email.rst')
-rw-r--r-- | user_guide_src/source/libraries/email.rst | 6 |
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() ------------------------------- |