File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 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
793793earlier. You could, for example, `download the foundation-emails.css file `_
794794directly from GitHub and save it in ``assets/css ``.
795795
796+ .. _signing-and-encrypting-messages :
797+
796798Signing 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
10681069Development & Debugging
10691070-----------------------
You can’t perform that action at this time.
0 commit comments