Index: mimemail.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mimemail/mimemail.inc,v
retrieving revision 1.31
diff -u -r1.31 mimemail.inc
--- mimemail.inc	21 Sep 2008 02:20:56 -0000	1.31
+++ mimemail.inc	28 Oct 2008 19:29:55 -0000
@@ -265,8 +265,10 @@
  */
 function mimemail_html_body($body, $subject, $plaintext = FALSE, $text = NULL, $attachments = array()) {
   if (is_null($text)) {
+    //strip styles
+    $text = preg_replace('|<style.*</style>|', '', $body);
     //generate plaintext alternative
-    $text = drupal_html_to_text($body);
+    $text = drupal_html_to_text($text);
   }
   if ($plaintext) {
     //Plain mail without attachment
