Skip to main content

Timeline for Theming mime mail rule email send

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Apr 24, 2022 at 2:57 comment added rd89 First thank you for the help! Added the hook to my custom module that was already trying to add a key - watchdog comes back with 'Column 'message' cannot be null'.
S Apr 23, 2022 at 16:30 history suggested Prestosaurus CC BY-SA 4.0
code wrapping for readability
Apr 23, 2022 at 8:25 comment added No Sssweat D9 version does have it. Maybe you have the wrong key? You could check it with hook_mail_alter and log the key, \Drupal::logger('my_module')->error($message['key']); and check the Drupal log.
Apr 23, 2022 at 5:57 review Suggested edits
S Apr 23, 2022 at 16:30
Apr 23, 2022 at 1:11 comment added rd89 Hey! Yep that's correct. In the contrib template files there's some instructions on how. In D7 I believe you can set a key for the email, in D9 that doesn't appear to be there.
Apr 22, 2022 at 23:24 comment added No Sssweat @cilefen I think he's referring to mimemail-message--[module]--[key].html.twig
Apr 22, 2022 at 21:31 comment added mona lisa Which documented method?
S Apr 22, 2022 at 19:24 review First questions
Apr 25, 2022 at 8:06
S Apr 22, 2022 at 19:24 history asked rd89 CC BY-SA 4.0