Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
how can I send an HTML message after a user registration? I've already made a template mimemail-message
and also mimemail-message--mail-user-register-no-approval-required
. For emails sent by rules module, it works, but from user module not, the template is ignored.
Comments
Comment #2
TR CreditAttribution: TR commentedThis is documented for Drupal 7 at https://www.drupal.org/docs/7/modules/mime-mail/theming-html-mail-sent-t...
This is documented for Drupal 8 at https://www.drupal.org/docs/contributed-modules/mime-mail/styling-core-d...
I'm sure there are many other pages which give examples.
This only works if you do everything correctly - template needs to be named correctly, needs to be located in the correct theme directory, correct mail system needs to be used, etc, so without details of what you're doing there's really no way of knowing why it isn't working for you.