Skip to content

Commit

Permalink
FIX: You can send emails with attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemens Gogoljn committed Jun 5, 2024
1 parent 4a32a70 commit bf93b4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions Classes/Controller/MessageFormController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
5 changes: 3 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => []
Expand All @@ -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
Expand Down

0 comments on commit bf93b4b

Please sign in to comment.