diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/ActionsByEmail/ResponseReader.php b/workflow/engine/src/ProcessMaker/BusinessModel/ActionsByEmail/ResponseReader.php index ca05d1451..b9db38d34 100644 --- a/workflow/engine/src/ProcessMaker/BusinessModel/ActionsByEmail/ResponseReader.php +++ b/workflow/engine/src/ProcessMaker/BusinessModel/ActionsByEmail/ResponseReader.php @@ -145,6 +145,7 @@ class ResponseReader $emailSetup['MESS_ACCOUNT'], $this->decryptPassword($emailSetup) ); + Log::channel(':' . $this->channel)->debug("Open mailbox", Bootstrap::context($emailSetup)); // Read all messages into an array $mailsIds = $mailbox->searchMailbox('UNSEEN'); @@ -153,6 +154,7 @@ class ResponseReader foreach ($mailsIds as $key => $mailId) { /** @var IncomingMail $mail */ $mail = $mailbox->getMail($mailId, false); + Log::channel(':' . $this->channel)->debug("Get mail", Bootstrap::context(['mailId' => $mailId])); if (!empty($mail->textPlain)) { preg_match("/{(.*)}/", $mail->textPlain, $matches); if ($matches) {