File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,8 @@ Use the ``attachFromPath()`` method to attach files that exist on your file syst
190190 ->attachFromPath('/path/to/documents/privacy.pdf', 'Privacy Policy')
191191 // optionally you can provide an explicit MIME type (otherwise it's guessed)
192192 ->attachFromPath('/path/to/documents/contract.doc', 'Contract', 'application/msword')
193- // you can also use an absolute url
193+ // you can also use an absolute URL if your PHP config allows getting URLs using fopen()
194+ // (this is not recommended because your application may or may not work depending on PHP config)
194195 ->attachFromPath('http://example.com/path/to/documents/contract.doc', 'Contract', 'application/msword')
195196 ;
196197
You can’t perform that action at this time.
0 commit comments