mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
Setting the additional parameters to mail transport.
This commit is contained in:
parent
a28e8ba4e7
commit
35c77b5a7a
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ class EmailComponent extends Component {
|
|||
|
||||
$transport = $lib->transport($this->delivery)->transportClass();
|
||||
if ($this->delivery === 'mail') {
|
||||
$transport->config(array('eol' => $this->lineFeed));
|
||||
$transport->config(array('eol' => $this->lineFeed, 'additionalParameters' => $this->additionalParams));
|
||||
} elseif ($this->delivery === 'smtp') {
|
||||
$transport->config($this->smtpOptions);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue