From: Maxime Bourget Date: Thu, 2 May 2013 21:35:04 +0000 (+0100) Subject: Fixed problem with MIME headers in emailed documents on gmail (pdf files encoded... X-Git-Tag: 2.3-final~263 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=78a02908cc9be59a24241f483ac3067aa35a9bf2;p=fa-stable.git Fixed problem with MIME headers in emailed documents on gmail (pdf files encoded in email body instead of attachment). --- 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 +?>