From 78a02908cc9be59a24241f483ac3067aa35a9bf2 Mon Sep 17 00:00:00 2001 From: Maxime Bourget Date: Thu, 2 May 2013 22:35:04 +0100 Subject: [PATCH] Fixed problem with MIME headers in emailed documents on gmail (pdf files encoded in email body instead of attachment). --- reporting/includes/class.mail.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reporting/includes/class.mail.inc b/reporting/includes/class.mail.inc index c51e5b6a..b1e29c14 100644 --- a/reporting/includes/class.mail.inc +++ b/reporting/includes/class.mail.inc @@ -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 +?> -- 2.30.2