Adjusting EmailComponent Boundary creation to occur for all generated email. Fixes #14.

This commit is contained in:
predominant 2010-01-17 11:38:45 +11:00
parent 1910a7f7ee
commit b50b5922fd

View file

@ -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';