mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixes #3393, Email headers get appended each time send() is called
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5791 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d9f5bb7a35
commit
28a36282c5
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class EmailComponent extends Object{
|
|||
* @access private
|
||||
*/
|
||||
function __createHeader() {
|
||||
$this->__header .= 'From: ' . $this->__formatAddress($this->from) . $this->_newLine;
|
||||
$this->__header = 'From: ' . $this->__formatAddress($this->from) . $this->_newLine;
|
||||
|
||||
if (!empty($this->replyTo)) {
|
||||
$this->__header .= 'Reply-To: ' . $this->__formatAddress($this->replyTo) . $this->_newLine;
|
||||
|
|
Loading…
Reference in a new issue