anchor.diff:            // Create a chunk'd (76 chars per line) base64 string.
             var contents = CryptoUtils.bytesToBase64(bytes, addLineSeparator:true);
   
  -          buffer.write('--$boundary\r\n');
  -          buffer.write('Content-Type: ${getContentType(filename: attachment.file.path)}; name="$filename"\r\n');
  -          buffer.write('Content-Transfer-Encoding: base64\r\n');
  -          buffer.write('Content-Disposition: attachment; filename="$filename"\r\n\r\n');
  -          buffer.write('$contents\r\n\r\n');
  +          buffer.write('--$boundary\n');
  +          buffer.write('Content-Type: ${getContentType(filename: attachment.file.path)}; name="$filename"\n');
  +          buffer.write('Content-Transfer-Encoding: base64\n');
  +          buffer.write('Content-Disposition: attachment; filename="$filename"\n\n');
  +          buffer.write('$contents\n\n');
           });
         }).then((_) {
  -        buffer.write('--$boundary--\r\n\r\n.');
  +        buffer.write('--$boundary--\n\n.');
   
           return buffer.toString();
         });
       });
     }
  -}+}
  
positive.code:     return new Future(() {
        var buffer = new StringBuffer();
  
        if (subject != null) buffer.write('Subject: ${_sanitizeField(subject)}\r\n');
  
        if (from != null) {
          var fromData = _sanitizeEmail(from);
  
negative.code:           fromData = '$fromName <$fromData>';
          }
  
          buffer.write('From: $fromData\n');
        }
  
        if (recipients != null && recipients.length > 0) {
          var to = recipients.map((recipient) => _sanitizeEmail(recipient)).toList().join(',');
          buffer.write('To: $to\n');
        }
  
        // Since TimeZone is not implemented in DateFormat we need to use UTC for proper Date header generation time
        buffer.write('Date: ' + new DateFormat('EEE, dd MMM yyyy HH:mm:ss +0000').format(new DateTime.now().toUtc()) + '\n');
        buffer.write('X-Mailer: Dart Mailer library\n');
        buffer.write('Mime-Version: 1.0\n');
  
        // Create boundary string.
        var boundary = '$identityString-?=_${++_counter}-${new DateTime.now().millisecondsSinceEpoch}';
  