Themes with coloring enabled (Mayo in my case) will not get the configured coloring, but the default coloring. This patch should add support for the color module in MimeMail. This will give mails sent from MimeMail the same coloring as the site.

CommentFileSizeAuthor
mimemail-color-module-support.patch761 byteszwartetoorts
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zwartetoorts created an issue. See original summary.

TR’s picture

Status: Active » Closed (won't fix)

At this point in time in the D7 lifecycle, we won't be adding new features. This issue hasn't had any interest from the community for more than three years now.

When I see code that uses module_exists(), that almost always indicates a wrong solution. The color module should be able to do its job with any output - if the color module needs every contributed module to check to see if 'color' exits, then the color module is written wrong. And if Mime Mail needs to check on the existence of the color module, that means the requested feature is probably being implemented in the wrong place. Regardless, because this is code that appears in the template preprocess hook, any site that needs this can do this in their theme overrides - Mime Mail doesn't need this patch to be included.