Index: program/lib/Mail/mimePart.php
===================================================================
--- program/lib/Mail/mimePart.php	(revision ffae15e5fcde50cf8c1b168fa313f4ec3454a693)
+++ program/lib/Mail/mimePart.php	(revision 68af648117f563311c717b5a086df0ae2e5c538f)
@@ -258,6 +258,6 @@
 
             $encoded['body'] = '--' . $boundary . MAIL_MIMEPART_CRLF . 
-                               rtrim(implode('--' . $boundary . MAIL_MIMEPART_CRLF , $subparts), MAIL_MIMEPART_CRLF) . MAIL_MIMEPART_CRLF . 
-                               '--' . $boundary.'--' . MAIL_MIMEPART_CRLF;
+				implode('--' . $boundary . MAIL_MIMEPART_CRLF , $subparts) .
+                        	'--' . $boundary.'--' . MAIL_MIMEPART_CRLF;
 
         } else {
