Skip to content

Commit 6fbe1d6

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: [Mailer] Explaining In-Reply-To and References header
2 parents b29d0e5 + 785dccc commit 6fbe1d6

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
@@ -443,10 +443,13 @@ header, etc.) but most of the times you'll set text headers::
443443

444444
$email = (new Email())
445445
->getHeaders()
446-
// this header tells auto-repliers ("email holiday mode") to not
446+
// this non-standard header tells compliant autoresponders ("email holiday mode") to not
447447
// reply to this message because it's an automated email
448448
->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply')
449449

450+
// use an array if you want to add a header with multiple values
451+
// (for example in the "References" or "In-Reply-To" header)
452+
->addIdHeader('References', ['123@example.com', '456@example.com']);
450453
// ...
451454
;
452455

0 commit comments

Comments
 (0)