Skip to content

Commit deeab79

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Mailer] Explaining In-Reply-To and References header
2 parents 25da507 + 6fbe1d6 commit deeab79

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

384384
$email = (new Email())
385385
->getHeaders()
386-
// this header tells auto-repliers ("email holiday mode") to not
386+
// this non-standard header tells compliant autoresponders ("email holiday mode") to not
387387
// reply to this message because it's an automated email
388388
->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply')
389389

390+
// use an array if you want to add a header with multiple values
391+
// (for example in the "References" or "In-Reply-To" header)
392+
->addIdHeader('References', ['123@example.com', '456@example.com']);
390393
// ...
391394
;
392395

0 commit comments

Comments
 (0)