Fixed problem with MIME headers in emailed documents on gmail (pdf files encoded...
authorMaxime Bourget <bmx007@gmail.com>
Thu, 2 May 2013 21:35:04 +0000 (22:35 +0100)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 8 May 2013 05:33:37 +0000 (07:33 +0200)
reporting/includes/class.mail.inc

index c51e5b6ad3ca3dbef95138013e88b6c9ebced1b6..b1e29c145caacd7d1ceb03272b55ab62084f62f8 100644 (file)
@@ -136,9 +136,7 @@ class email
             }
             $this->header .= "\n";
         }
-               $this->header .= "MIME-Version: 1.0\n";
                $this->header .= "Content-Type: multipart/mixed;\n boundary=\"$this->boundary\"\n";
-               $this->header .= "This is a multi-part message in MIME format.\n";
 
         // Attachment hinzufügen
         $max = count($this->attachment);
@@ -166,4 +164,4 @@ class email
         return $ret;
     }
 }
-?>
\ No newline at end of file
+?>