From 2fbf1107781de3d7deaf9f1a877f1198f30ca3d8 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 18 Sep 2019 17:52:24 +0200 Subject: [PATCH] Mentioned that round-robin mailers require Messenger integration --- components/mailer.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/mailer.rst b/components/mailer.rst index ecdeef798f2..7c1aad546ed 100644 --- a/components/mailer.rst +++ b/components/mailer.rst @@ -119,7 +119,10 @@ Load Balancing -------------- Symfony's mailer supports `load balancing`_ via a technique called "round-robin" -to distribute the mailing workload across multiple transports . +to distribute the mailing workload across multiple transports. The only +requirement is that your application must use the Messenger component +integration to :ref:`send emails asynchronously `, +as explained in the next sections. A round-robin transport is configured with two or more transports joined by the ``&&`` operator:: @@ -130,6 +133,8 @@ The mailer will start using the first transport and if it fails, it will retry the same delivery with the next transports until one of them succeeds (or until all of them fail). +.. _mailer-sending-emails-async: + Sending emails asynchronously -----------------------------