From bf93b4ba0500a9ffe54644c9987f08d79667422f Mon Sep 17 00:00:00 2001 From: Clemens Gogoljn Date: Wed, 5 Jun 2024 10:07:57 +0200 Subject: [PATCH] FIX: You can send emails with attachments --- Classes/Controller/MessageFormController.php | 6 ------ ext_emconf.php | 5 +++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Classes/Controller/MessageFormController.php b/Classes/Controller/MessageFormController.php index 94dd27e..f2a70a1 100644 --- a/Classes/Controller/MessageFormController.php +++ b/Classes/Controller/MessageFormController.php @@ -187,12 +187,6 @@ private function getValidReceiver(string $name): ?FrontendUser public function sendAction(Message $message) { - if ($this->request->hasArgument('attachments')) { - $message->setAttachments($this->request->getArgument('attachments')); - } else { - $message->setAttachments([]); - } - /** @var FrontendUser $frontendUser */ /** @var FrontendUserGroup $frontendUserGroup */ diff --git a/ext_emconf.php b/ext_emconf.php index 80b7ca3..7f14ecf 100755 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -23,11 +23,11 @@ 'uploadfolder' => 0, 'createDirs' => '', 'clearCacheOnLoad' => 1, - 'version' => '2.0.0', + 'version' => '2.0.1', 'constraints' => [ 'depends' => [ 'typo3' => '12.4.0-12.4.99', - 'bootstrap_package' => '11.0.2-13.0.99' + 'bootstrap_package' => '14.0.0-14.0.99' ], 'conflicts' => [], 'suggests' => [] @@ -36,6 +36,7 @@ /** ---- CHANGELOG ---------- + 2.0.1 :: FIX: You can send emails with attachments 2.0.0 :: UPD: to TYPO3 12.4.x 1.2.1 :: MTN: Extract the session form key handling in a service. 1.2.0 :: Fix: Fix the plugin configuration / registry