File tree 1 file changed +7
-6
lines changed
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
2
2
==========================
3
3
4
4
.. versionadded :: 4.3
@@ -793,6 +793,8 @@ This makes use of the :ref:`css Twig namespace <mailer-css-namespace>` we create
793
793
earlier. You could, for example, `download the foundation-emails.css file `_
794
794
directly from GitHub and save it in ``assets/css ``.
795
795
796
+ .. _signing-and-encrypting-messages :
797
+
796
798
Signing and Encrypting Messages
797
799
-------------------------------
798
800
@@ -1059,11 +1061,10 @@ is sent::
1059
1061
1060
1062
.. tip ::
1061
1063
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.
1067
1068
1068
1069
Development & Debugging
1069
1070
-----------------------
You can’t perform that action at this time.
0 commit comments