I am using mime mail but I can't theme different mails as I want. I want to theme different mails in different formats. For example rules' mails theme will be different, private message mails will be different and creating account or others will be different.
I read that mime mail uses mail.css, but there is no file like that. I have created it by myself. But I don't know how will I seperate themes of these different mails?
Comments
Comment #1
danyg commentedHello,
I use mimemail with simplenews. In simplenews the different categories are in taxonomy system, so if I want special theme for special newsletter I make a simplenews-newsletter-body--{tid}.tpl.php file in my theme directory (using the original simplenews-newsletter-body.tpl.php file from simplenews directory) and build html-tgas as i want to skin my newsletter.
I hope this was helpful, I don't know other way to theme mails.
Comment #2
RodrigoBalest commentedSubscribing
Comment #3
sgabe commentedI think this issue is related and after all a duplicate of #319384: Add $mailkey to body tag as CSS class which addresses the same feature as this one, so I am marking this as duplicate and I will post another comment with some progress on this in the original issue.