Skip to content
Permalink
Browse files

Adding missing import in EmailComponent.

Fixes #1948
  • Loading branch information...
markstory committed Aug 29, 2011
1 parent ff0119b commit 443ff922802780174bf8bb39084ebe181d691fde
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/controller/components/email.php
@@ -18,6 +18,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::import('Core', 'Multibyte');
App::import('Core', 'String');
/**
* EmailComponent
@@ -588,7 +589,7 @@ function _createHeader() {
if ($this->messageId !== false) {
if ($this->messageId === true) {
$headers['Message-ID'] = '<' . String::UUID() . '@' . env('HTTP_HOST') . '>';
$headers['Message-ID'] = '<' . String::uuid() . '@' . env('HTTP_HOST') . '>';
} else {
$headers['Message-ID'] = $this->messageId;
}

0 comments on commit 443ff92

Please sign in to comment.
You can’t perform that action at this time.