Index: mimemail.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/mimemail/mimemail.inc,v
retrieving revision 1.44
diff -u -r1.44 mimemail.inc
--- mimemail.inc	21 Apr 2010 23:24:22 -0000	1.44
+++ mimemail.inc	23 Apr 2010 16:19:49 -0000
@@ -123,9 +123,17 @@
     if (strpos($url, '://') || preg_match('!mailto:!', $url)) {
       return $url;
     }
-    else {
     // The $url is a relative file path, continue processing.
-      $file = $url;
+    else {
+      // Check if download method is set to private,
+      // and the url needs conversion.
+      if (variable_get('file_downloads', '') == FILE_DOWNLOADS_PRIVATE && strpos($url, 'system/files/') !== FALSE ) { 
+        $file = file_create_path(substr($url, (strpos($url, 'system/files/') + strlen('system/files/'))));
+      }
+      // Download method is public
+      else { 
+        $file = $url;
+      }
     }
   }
 
