*** mimemail.module     2009-05-21 01:37:26.000000000 +0200
--- mimemail.module     2010-03-23 16:40:51.000000000 +0100
***************
*** 279,284 ****
      }
      $headers = isset($message['headers']) ? $message['headers'] : array();
      $mailkey = isset($message['mailkey']) ? $message['mailkey'] : '';
!     return mimemail($from, $to, $subject, $body, NULL, $headers, NULL, array(), $mailkey);
    }
  }
--- 279,285 ----
      }
      $headers = isset($message['headers']) ? $message['headers'] : array();
      $mailkey = isset($message['mailkey']) ? $message['mailkey'] : '';
!     $attachments = isset($message['attachments']) ? $message['attachments'] : array();
!     return mimemail($from, $to, $subject, $body, NULL, $headers, NULL, $attachments, $mailkey);
    }
  }