Skip to content

Commit 9a4467b

Browse files
authored
Merge pull request #127 from bardolf69/master
Fix issues with forwarding emails since Laravel 9.0
2 parents cfa7568 + 8362e28 commit 9a4467b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/InboundEmail.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ public function forward($recipients)
170170
return Mail::send([], [], function ($message) use ($recipients) {
171171
$message->to($recipients)
172172
->subject($this->subject())
173-
->setBody($this->body(), $this->message()->getContentType());
173+
->text($this->text())
174+
->html($this->html());
174175
});
175176
}
176177

0 commit comments

Comments
 (0)