Add improvements
This commit is contained in:
parent
ac1d2cf38f
commit
c41614fef1
1 changed files with 1 additions and 2 deletions
|
@ -184,8 +184,7 @@ abstract class MailBuilder
|
||||||
*/
|
*/
|
||||||
public function setHeader(string $name, string $value)
|
public function setHeader(string $name, string $value)
|
||||||
{
|
{
|
||||||
$this->headers[$name] = [];
|
$this->headers[$name] = [$value];
|
||||||
$this->headers[$name][] = $value;
|
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue