Skip to content

Commit 66cee25

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [Mailer] Explaining In-Reply-To and References header
2 parents 77804f9 + d407882 commit 66cee25

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

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

395+
// use an array if you want to add a header with multiple values
396+
// (for example in the "References" or "In-Reply-To" header)
397+
->addIdHeader('References', ['123@example.com', '456@example.com']);
395398
// ...
396399
;
397400

0 commit comments

Comments
 (0)