We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e123b5 + 0b682b1 commit 51f0b40Copy full SHA for 51f0b40
mailer.rst
@@ -195,6 +195,8 @@ Use the ``attachFromPath()`` method to attach files that exist on your file syst
195
->attachFromPath('/path/to/documents/privacy.pdf', 'Privacy Policy')
196
// optionally you can provide an explicit MIME type (otherwise it's guessed)
197
->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')
200
;
201
202
Alternatively you can use the ``attach()`` method to attach contents from a stream::
0 commit comments