Skip to content
Permalink
Browse files

Fix for the MIME-TYPE be set by default

  • Loading branch information...
lapenz committed Oct 9, 2014
1 parent 7a00f70 commit 472c03b889ff4fabc2592ecb30f03b944392a5e2
Showing with 0 additions and 1 deletion.
  1. +0 −1 cake/libs/controller/components/email.php
@@ -621,7 +621,6 @@ function _createHeader() {
} elseif ($this->sendAs === 'text') {
$headers['Content-Type'] = 'text/plain; charset=' . $this->charset;
} elseif ($this->sendAs === 'html') {
$headers['MIME-Version'] = '1.0';
$headers['Content-Type'] = 'text/html; charset=' . $this->charset;
} elseif ($this->sendAs === 'both') {
$headers['Content-Type'] = 'multipart/alternative; boundary="alt-' . $this->__boundary . '"';

0 comments on commit 472c03b

Please sign in to comment.
You can’t perform that action at this time.