mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adjusting EmailComponent Boundary creation to occur for all generated email. Fixes #14.
This commit is contained in:
parent
1910a7f7ee
commit
b50b5922fd
1 changed files with 1 additions and 1 deletions
|
@ -505,8 +505,8 @@ class EmailComponent extends Object{
|
|||
}
|
||||
}
|
||||
|
||||
$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';
|
||||
|
|
Loading…
Reference in a new issue