From 8362e28bf1ee339dc7e9057f55928d95f22334a3 Mon Sep 17 00:00:00 2001 From: bardolf69 <47841636+bardolf69@users.noreply.github.com> Date: Fri, 24 May 2024 08:51:09 +0700 Subject: [PATCH] Update InboundEmail.php Fix issues with forwarding emails after Laravel 9.0 --- src/InboundEmail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/InboundEmail.php b/src/InboundEmail.php index 884445f..6e24fff 100644 --- a/src/InboundEmail.php +++ b/src/InboundEmail.php @@ -170,7 +170,8 @@ public function forward($recipients) return Mail::send([], [], function ($message) use ($recipients) { $message->to($recipients) ->subject($this->subject()) - ->setBody($this->body(), $this->message()->getContentType()); + ->text($this->text()) + ->html($this->html()); }); }