Author: Michael Mende <debian@menole.net>
Description: Fix handling of pure html mails.
--- a/lib/Mail/SendEasy.pm
+++ b/lib/Mail/SendEasy.pm
@@ -225,7 +225,8 @@ sub send {
   }
   
   if ( defined $mail{html} ) {
-    $mail{msg} =~ s/\r\n?/\n/gs ;
+    $mail{html} =~ s/\r\n?/\n/gs ;
+    if ( $mail{html} !~ /\n\n$/s) { $mail{html} =~ s/\n?$/\n\n/s ;}
     
     my %part = (
     'Content-Type' => 'text/html; charset=ISO-8859-1' ,
