Add improvements

This commit is contained in:
Philipp Holzer 2020-09-19 22:49:44 +02:00
parent ac1d2cf38f
commit c41614fef1
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
1 changed files with 1 additions and 2 deletions

View File

@ -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;
} }