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 f9bcdad + 51f0b40 commit 114b2e6Copy full SHA for 114b2e6
mailer.rst
@@ -190,6 +190,8 @@ Use the ``attachFromPath()`` method to attach files that exist on your file syst
190
->attachFromPath('/path/to/documents/privacy.pdf', 'Privacy Policy')
191
// optionally you can provide an explicit MIME type (otherwise it's guessed)
192
->attachFromPath('/path/to/documents/contract.doc', 'Contract', 'application/msword')
193
+ // you can also use an absolute url
194
+ ->attachFromPath('http://example.com/path/to/documents/contract.doc', 'Contract', 'application/msword')
195
;
196
197
Alternatively you can use the ``attach()`` method to attach contents from a stream::
0 commit comments