Skip to content

Commit 51f0b40

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Add attachment with url
2 parents 7e123b5 + 0b682b1 commit 51f0b40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mailer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ Use the ``attachFromPath()`` method to attach files that exist on your file syst
195195
->attachFromPath('/path/to/documents/privacy.pdf', 'Privacy Policy')
196196
// optionally you can provide an explicit MIME type (otherwise it's guessed)
197197
->attachFromPath('/path/to/documents/contract.doc', 'Contract', 'application/msword')
198+
// you can also use an absolute url
199+
->attachFromPath('http://example.com/path/to/documents/contract.doc', 'Contract', 'application/msword')
198200
;
199201

200202
Alternatively you can use the ``attach()`` method to attach contents from a stream::

0 commit comments

Comments
 (0)