From cedf4de2ba47d07818822f9a3b8cbf6ecc3d2671 Mon Sep 17 00:00:00 2001 From: FreeScout Date: Wed, 15 May 2024 22:46:16 -0700 Subject: [PATCH] Update TestWebklex command --- app/Console/Commands/TestWebklex.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Console/Commands/TestWebklex.php b/app/Console/Commands/TestWebklex.php index 85767f288..932f3860a 100644 --- a/app/Console/Commands/TestWebklex.php +++ b/app/Console/Commands/TestWebklex.php @@ -84,6 +84,10 @@ public function handle() $this->info($message->getHeader()->raw); $this->line('From: '); $this->info(json_encode($message->getFrom()[0] ?? [], JSON_UNESCAPED_UNICODE)); + $this->line('In-Reply-To: '); + $this->info($message->getInReplyTo()); + $this->line('References: '); + $this->info(json_encode(array_values(array_filter(preg_split('/[, <>]/', $message->getReferences() ?? []))), JSON_UNESCAPED_UNICODE)); $this->line('Subject: '); $this->info($message->getSubject()); $this->line('Text Body: ');