Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion components/mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <mailer-sending-emails-async>`,
as explained in the next sections.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to submit a patch to make it useful even if you are not using Messenger ( I forgot about this issue).


A round-robin transport is configured with two or more transports joined by the
``&&`` operator::
Expand All @@ -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
-----------------------------

Expand Down