From 5cf8890b6ec31c47efd33f76e688de0270e6424f Mon Sep 17 00:00:00 2001 From: seto Date: Thu, 7 Nov 2024 15:53:00 +0900 Subject: [PATCH] =?UTF-8?q?afterSendEmail=E3=81=AE=E3=83=87=E3=83=BC?= =?UTF-8?q?=E3=82=BF=E3=82=92=E3=82=A8=E3=83=B3=E3=83=86=E3=82=A3=E3=83=86?= =?UTF-8?q?=E3=82=A3=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/bc-mail/src/Controller/MailController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/bc-mail/src/Controller/MailController.php b/plugins/bc-mail/src/Controller/MailController.php index ccae3c4762..0daa1c0aee 100755 --- a/plugins/bc-mail/src/Controller/MailController.php +++ b/plugins/bc-mail/src/Controller/MailController.php @@ -289,7 +289,7 @@ public function submit( return $this->redirect($this->request->getAttribute('currentContent')->url . '/'); } - // EVENT Mail.beforeSendEmail + // EVENT BcMail.Mail.beforeSendEmail $event = $this->dispatchLayerEvent('beforeSendEmail', [ 'data' => $entity ]); @@ -308,9 +308,9 @@ public function submit( return $this->redirect($this->request->getAttribute('currentContent')->url . '/'); } - // EVENT Mail.afterSendEmail + // EVENT BcMail.Mail.afterSendEmail $this->dispatchLayerEvent('afterSendEmail', [ - 'data' => $this->request->getData() + 'data' => $entity ]); $this->getRequest()->getSession()->write('BcMail.MailContent', $mailContent);