From 77f34c51107c43f33eee8accc55a0528a7a941b2 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sat, 3 Jul 2021 16:38:25 +0200 Subject: [PATCH] Added header removal notice --- mailer.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mailer.rst b/mailer.rst index ec13d48e4ba..8aa3f82acb7 100644 --- a/mailer.rst +++ b/mailer.rst @@ -944,8 +944,9 @@ This can be configured by replacing the ``dsn`` configuration entry with a ], ]); -By default the first transport is used. The other transports can be used by -adding a text header ``X-Transport`` to an email:: +By default the first transport is used. The other transports can be selected by +adding an ``X-Transport`` header (which Mailer will remove automatically from +the final email):: // Send using first "main" transport ... $mailer->send($email);