diff options
author | Petr Heralecky <petr@heralecky.cz> | 2014-01-10 15:21:18 +0100 |
---|---|---|
committer | Petr Heralecky <petr@heralecky.cz> | 2014-01-10 15:21:18 +0100 |
commit | 232ea658e1f31d6c82a9ed9dae1bb3b292b6eb24 (patch) | |
tree | b43af407a839f641aec241573f6c7f7823e8588a /user_guide_src/source/libraries/email.rst | |
parent | c809726558cc5364713e49c7404e43989203c4af (diff) |
attach files by absolute url
Diffstat (limited to 'user_guide_src/source/libraries/email.rst')
-rw-r--r-- | user_guide_src/source/libraries/email.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst index 8e3800306..476f1131d 100644 --- a/user_guide_src/source/libraries/email.rst +++ b/user_guide_src/source/libraries/email.rst @@ -259,6 +259,10 @@ otherwise use a custom disposition:: $this->email->attach('image.jpg', 'inline'); +You can use absolute url:: + + $this->email->attach('http://example.com/filename.pdf'); + If you'd like to use a custom file name, you can use the third paramater:: $this->email->attach('filename.pdf', 'attachment', 'report.pdf'); |