Skip to content

Commit 19570b8

Browse files
authored
add tip about listener priority to mailer.rst
1 parent 4fbc71f commit 19570b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mailer.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,14 @@ is sent::
10561056
}
10571057
}
10581058

1059+
.. tip::
1060+
1061+
The ``MessageEvent`` is also used internally. Depending on your use case
1062+
you might need to set a lower or higher priority for your own listener.
1063+
For example, when you want to sign the message, make sure to use ``-1``
1064+
or lower so the body has already been rendered and will not change after
1065+
signing.
1066+
10591067
Development & Debugging
10601068
-----------------------
10611069

0 commit comments

Comments
 (0)