From 418426a3d8e818ac95a38ceeb49abeadb5ba35d4 Mon Sep 17 00:00:00 2001 From: andyexeter Date: Fri, 21 Jan 2022 09:57:53 +0000 Subject: [PATCH] Capitalise From and Bcc header names in global mailer configuration --- mailer.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mailer.rst b/mailer.rst index 081a88dea24..7899f449f3b 100644 --- a/mailer.rst +++ b/mailer.rst @@ -535,8 +535,8 @@ and headers. sender: 'fabien@example.com' recipients: ['foo@example.com', 'bar@example.com'] headers: - from: 'Fabien ' - bcc: 'baz@example.com' + From: 'Fabien ' + Bcc: 'baz@example.com' X-Custom-Header: 'foobar' .. code-block:: xml @@ -558,8 +558,8 @@ and headers. foo@example.com bar@example.com - Fabien <fabien@example.com> - baz@example.com + Fabien <fabien@example.com> + baz@example.com foobar @@ -578,8 +578,8 @@ and headers. ->recipients(['foo@example.com', 'bar@example.com']) ; - $mailer->header('from')->value('Fabien '); - $mailer->header('bcc')->value('baz@example.com'); + $mailer->header('From')->value('Fabien '); + $mailer->header('Bcc')->value('baz@example.com'); $mailer->header('X-Custom-Header')->value('foobar'); };