Fix method casing.

Closes #12241
This commit is contained in:
Mark Story 2018-06-30 14:55:37 -04:00
parent 130714f4b2
commit fd568e7c79

View file

@ -788,7 +788,7 @@ class CakeEmail {
}
if ($this->_messageId !== false) {
if ($this->_messageId === true) {
$headers['Message-ID'] = '<' . str_replace('-', '', CakeText::UUID()) . '@' . $this->_domain . '>';
$headers['Message-ID'] = '<' . str_replace('-', '', CakeText::uuid()) . '@' . $this->_domain . '>';
} else {
$headers['Message-ID'] = $this->_messageId;
}