summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-12 15:06:14 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-12 15:06:14 +0100
commit3559af1723920007598e5dd44abbb9f581879a36 (patch)
tree9214e69b82b642b2d8d2df8757767a6434e50f9e /user_guide_src/source/libraries
parent4e6c5281a3258b3ff530a43580d1b8dc8e34dd59 (diff)
parent1dbdf72c555d0ea4d7c526e56e79472331eedc2a (diff)
Merge pull request #2808 from melounek/filename_as_url
attach files by absolute url
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/email.rst4
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..86f440a74 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 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');