Skip to content

Commit 9651651

Browse files
committed
Reword
1 parent a664fd3 commit 9651651

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

mailer.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Sending Emails with Mailer
1+
17340Sending Emails with Mailer
22
==========================
33

44
.. versionadded:: 4.3
@@ -793,6 +793,8 @@ This makes use of the :ref:`css Twig namespace <mailer-css-namespace>` we create
793793
earlier. You could, for example, `download the foundation-emails.css file`_
794794
directly from GitHub and save it in ``assets/css``.
795795

796+
.. _signing-and-encrypting-messages:
797+
796798
Signing and Encrypting Messages
797799
-------------------------------
798800

@@ -1059,11 +1061,10 @@ is sent::
10591061

10601062
.. tip::
10611063

1062-
The ``MessageEvent`` is also used internally. Depending on your use case
1063-
you might need to set a lower or higher priority for your own listener.
1064-
For example, when you want to sign the message, make sure to use ``-1``
1065-
or lower so the body has already been rendered and will not change after
1066-
signing.
1064+
When using a ``MessageEvent`` listener to
1065+
:doc:`sign the email contents <signing-and-encrypting-messages>`, run it as
1066+
late as possible (e.g. setting a negative priority for it) so the email
1067+
contents are not set or modified after signing them.
10671068

10681069
Development & Debugging
10691070
-----------------------

0 commit comments

Comments
 (0)