Skip to content

Commit 5781a94

Browse files
committed
Tweaks
1 parent d71b5bc commit 5781a94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ matched under ``routing`` will still be handled immediately, i.e. synchronously.
269269
rule for any message not matched under ``routing``. This is useful to ensure
270270
no message is handled synchronously by default.
271271

272+
The only drawback is that ``'*'`` will also apply to the emails sent with the
273+
Symfony Mailer (which uses ``SendEmailMessage`` when Messenger is available).
274+
This could cause issues if your emails are not serializable (e.g. if they include
275+
file attachments as PHP resources/streams).
276+
272277
You can also route classes by their parent class or interface. Or send messages
273278
to multiple transports:
274279

0 commit comments

Comments
 (0)