Skip to content

Commit 785dccc

Browse files
committed
minor #15868 [Mailer] Explaining In-Reply-To and References header (ThomasLandauer)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Mailer] Explaining In-Reply-To and References header * ... as announced in #13869 ;-) * Other change: "autoresponder" seems to be the more common term than "autoreplier": https://en.wikipedia.org/wiki/Autoresponder Closes #13869 Commits ------- 2344303 [Mailer] Explaining In-Reply-To and References header
2 parents 82013f8 + 2344303 commit 785dccc

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)