Skip to content

Commit

Permalink
Adjusting EmailComponent Boundary creation to occur for all generated…
Browse files Browse the repository at this point in the history
… email. Fixes #14.
  • Loading branch information
predominant committed Jan 17, 2010
1 parent 1910a7f commit b50b592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/components/email.php
Expand Up @@ -505,8 +505,8 @@ function __createHeader() {
}
}

$this->__createBoundary();
if (!empty($this->attachments)) {
$this->__createBoundary();
$this->__header[] = 'MIME-Version: 1.0';
$this->__header[] = 'Content-Type: multipart/mixed; boundary="' . $this->__boundary . '"';
$this->__header[] = 'This part of the E-mail should never be seen. If';
Expand Down

0 comments on commit b50b592

Please sign in to comment.