From 2344303df4c4793ea8dc26e747fcb78cef0c9203 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 28 Sep 2021 21:04:52 +0200 Subject: [PATCH] [Mailer] Explaining In-Reply-To and References header --- mailer.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index 9f26c769d82..fff3b13b5d2 100644 --- a/mailer.rst +++ b/mailer.rst @@ -323,10 +323,13 @@ header, etc.) but most of the times you'll set text headers:: $email = (new Email()) ->getHeaders() - // this header tells auto-repliers ("email holiday mode") to not + // this non-standard header tells compliant autoresponders ("email holiday mode") to not // reply to this message because it's an automated email ->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply') + // use an array if you want to add a header with multiple values + // (for example in the "References" or "In-Reply-To" header) + ->addIdHeader('References', ['123@example.com', '456@example.com']); // ... ;