10000 do not document adding attachments through URLs · symfony/symfony-docs@bb0b55b · GitHub
[go: up one dir, main page]

Skip to content

Commit bb0b55b

Browse files
committed
do not document adding attachments through URLs
1 parent e9c6102 commit bb0b55b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mailer.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ Use the ``attachFromPath()`` method to attach files that exist on your file syst
299299
->attachFromPath('/path/to/documents/privacy.pdf', 'Privacy Policy')
300300
// optionally you can provide an explicit MIME type (otherwise it's guessed)
301301
->attachFromPath('/path/to/documents/contract.doc', 'Contract', 'application/msword')
302-
// you can also use an absolute URL if your PHP config allows getting URLs using fopen()
303-
// (this is not recommended because your application may or may not work depending on PHP config)
304-
->attachFromPath('http://example.com/path/to/documents/contract.doc', 'Contract', 'application/msword')
305302
;
306303

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

0 commit comments

Comments
 (0)
0