diff --git a/includes/unicode.inc b/includes/unicode.inc
index df91868..b79fa53 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -372,12 +372,12 @@ function truncate_utf8($string, $max_length, $wordsafe = FALSE, $add_ellipsis =
  */
 function mime_header_encode($string) {
   if (preg_match('/[^\x20-\x7E]/', $string)) {
-    $chunk_size = 47; // floor((75 - strlen("=?UTF-8?B??=")) * 0.75);
+    $chunk_size = 45; // floor((75 - strlen("=?UTF-8?B??=\r\n ")) * 0.75);
     $len = strlen($string);
     $output = '';
     while ($len > 0) {
       $chunk = drupal_truncate_bytes($string, $chunk_size);
-      $output .= ' =?UTF-8?B?' . base64_encode($chunk) . "?=\n";
+      $output .= ' =?UTF-8?B?' . base64_encode($chunk) . "?=\r\n ";
       $c = strlen($chunk);
       $string = substr($string, $c);
       $len -= $c;
