Issue Bug Closed

#82569EXT:form setting attachUploads to false does not work

Maik Hagenbruch 09/27/17, 16:33 updated 10/02/18, 10:55

Description

I dont know if its an bug or not, but this is not working for me. Maybe i did it wrong.

I configured my a MailToReceiverFinisher and set
attachUploads to false ( tried with [0, false, ‘false’];
After sending this form the mail contains the uploaded file every time.

So i debugged in \TYPO3\CMS\Form\Domain\Finishers\EmailFinisher line 98.

$attachUploads = $this->parseOption(‘attachUploads’);

This is always set to true. If i say
$attachUploads = false; manualy directly after this call, the attachments are NOT included in the mail.

My Config: https://pastebin.com/EXKaKVk2

This is what is saved after saving the form in backend module.

Reviews 4