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'); };