File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,12 @@ public function message(): MimeMessage
128
128
129
129
public function reply (Mailable $ mailable )
130
130
{
131
+ if ($ mailable instanceof \Illuminate \Mail \Mailable) {
132
+ $ mailable ->withSwiftMessage (function (\Swift_Message $ message ) {
133
+ $ message ->getHeaders ()->addIdHeader ('In-Reply-To ' , $ this ->id ());
134
+ });
135
+ }
136
+
131
137
return Mail::to ($ this ->from ())->send ($ mailable );
132
138
}
133
139
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ public function it_stores_inbound_emails_with_fallback_and_catchall_only_once()
113
113
$ this ->assertSame (2 , InboundEmail::query ()->count ());
114
114
}
115
115
116
-
117
116
/** @test */
118
117
public function it_does_not_store_inbound_emails_if_configured ()
119
118
{
You can’t perform that action at this time.
0 commit comments