I need to theme some of the email templates that go out. From searching in here it looks like I need to look at the <body id="mimemail-body" class="some_key"> in the raw output of the email message. However, there's no key. All I have is <body id="mimemail-body" style="[some css from the theme];" >.
Do I have to do something special to get the mailkey to print out in the email? Or is this a bug? I don't have any other modules enabled that effect the sending of the emails and everything else works like it should. The only thing I can't do is create a theme template because there doesn't appear to be a mailkey available.
The closest thing I could find was to maybe write my own module to include a mailkey: http://drupal.org/node/409614 , but this doesn't seem right, is it? Shouldn't this be handled by mimemail already, or is this something I have to do?
/confused...
Comments
Comment #1
asauterChicago commentedOk, gotten a little bit closer. I see a setting under settings/mimemail for "Preserve class attributes" this will now give me:
<body id="mimemail-body" class="mail-">So that's a bit closer now at least. Now how do I assign different mail keys to emails?
Comment #1.0
asauterChicago commenteddidn't wrap my html in "code" tags
Comment #2
tr commentedD6 is long out of support, and as far as I can tell this works properly in D7 and D8 and D9...