Skip to content

Commit

Permalink
Revert "Adjusting EmailComponent Boundary creation to occur for all g…
Browse files Browse the repository at this point in the history
…enerated email. Fixes #14."

This reverts commit b50b592.
  • Loading branch information
predominant committed Jan 17, 2010
1 parent 5203397 commit ab666f8
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

1 comment on commit ab666f8

@fmaulanaa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

greattt

Please sign in to comment.