From 3cd1e7a0b74026d07275348e5c7c336458b0929e Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sat, 3 Jul 2021 15:02:12 +0200 Subject: [PATCH] Minor clarification The text above says: > By default the first transport is used The wording I changed suggested that the first transport called "main" is used (not the very first one in total). --- mailer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailer.rst b/mailer.rst index ec13d48e4ba..d11995a108c 100644 --- a/mailer.rst +++ b/mailer.rst @@ -947,10 +947,10 @@ 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:: - // Send using first "main" transport ... + // Send using first transport ("main"): $mailer->send($email); - // ... or use the "alternative" one + // ... or use the transport "alternative": $email->getHeaders()->addTextHeader('X-Transport', 'alternative'); $mailer->send($email);