From 07a44f70ad51662c73c10789acaf28f9e190a222 Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Mon, 14 Apr 2025 12:13:40 +0200 Subject: [PATCH] TASK: Remove check if symfonymailer package is installed --- Classes/Runtime/Action/EmailAction.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Classes/Runtime/Action/EmailAction.php b/Classes/Runtime/Action/EmailAction.php index b6fb163..af0836e 100644 --- a/Classes/Runtime/Action/EmailAction.php +++ b/Classes/Runtime/Action/EmailAction.php @@ -36,10 +36,6 @@ class EmailAction extends AbstractAction */ public function perform(): ?ActionResponse { - if (!class_exists(MailerService::class)) { - throw new ActionException('The "neos/symfonymailer" doesn\'t seem to be installed, but is required for the EmailAction to work!', 1503392532); - } - $subject = $this->options['subject'] ?? null; $text = $this->options['text'] ?? null; $html = $this->options['html'] ?? null;