mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removed the read from Configure for X-Mailer.
This commit is contained in:
parent
554d32e76d
commit
22445e2583
1 changed files with 1 additions and 4 deletions
|
@ -546,11 +546,8 @@ class CakeEmail {
|
|||
|
||||
$headers += $this->_headers;
|
||||
if (!isset($headers['X-Mailer'])) {
|
||||
$headers['X-Mailer'] = Configure::read('Email.XMailer');
|
||||
if (empty($headers['X-Mailer'])) {
|
||||
$headers['X-Mailer'] = self::EMAIL_CLIENT;
|
||||
}
|
||||
}
|
||||
if (!isset($headers['Date'])) {
|
||||
$headers['Date'] = date(DATE_RFC2822);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue