Skip to content

Commit 2344303

Browse files
ThomasLandauerjaviereguiluz
authored andcommitted
[Mailer] Explaining In-Reply-To and References header
1 parent 82013f8 commit 2344303

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mailer.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,13 @@ header, etc.) but most of the times you'll set text headers::
323323

324324
$email = (new Email())
325325
->getHeaders()
326-
// this header tells auto-repliers ("email holiday mode") to not
326+
// this non-standard header tells compliant autoresponders ("email holiday mode") to not
327327
// reply to this message because it's an automated email
328328
->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply')
329329

330+
// use an array if you want to add a header with multiple values
331+
// (for example in the "References" or "In-Reply-To" header)
332+
->addIdHeader('References', ['123@example.com', '456@example.com']);
330333
// ...
331334
;
332335

0 commit comments

Comments
 (0)