### Eclipse Workspace Patch 1.0
#P mimemail
Index: mimemail.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mimemail/mimemail.module,v
retrieving revision 1.50
diff -u -r1.50 mimemail.module
--- mimemail.module	12 Aug 2010 11:06:18 -0000	1.50
+++ mimemail.module	6 Sep 2010 14:41:44 -0000
@@ -125,7 +125,7 @@
     }
   }
   $subject = mime_header_encode(trim(drupal_html_to_text($subject)));
-  $body = theme('mimemail_message', $body, $mailkey);
+  $body = theme('mimemail_message', $body, 'mail-'. str_replace('_', '-', $mailkey));
   foreach (module_implements('mail_post_process') as $module) {
     $function = $module .'_mail_post_process';
     $function($body, $mailkey);
Index: theme/mimemail-message.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mimemail/theme/mimemail-message.tpl.php,v
retrieving revision 1.1
diff -u -r1.1 mimemail-message.tpl.php
--- theme/mimemail-message.tpl.php	21 Apr 2010 01:07:18 -0000	1.1
+++ theme/mimemail-message.tpl.php	6 Sep 2010 14:41:44 -0000
@@ -16,7 +16,7 @@
     </style>
     <?php endif; ?>
   </head>
-  <body id="mimemail-body">
+  <body id="mimemail-body" <?php if ($mailkey): print 'class="'. $mailkey .'"'; endif; ?>>
     <div id="center">
       <div id="main">
         <?php print $body ?>
