Browse files

Adjusting EmailComponent Boundary creation to occur for all generated…

… email. Fixes #14.
  • Loading branch information...
1 parent 1910a7f commit b50b5922fd4fff06f5e1a93bdb4a181890d6bff0 @predominant predominant committed Jan 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/controller/components/email.php
View
2 cake/libs/controller/components/email.php
@@ -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';

0 comments on commit b50b592

Please sign in to comment.