Add improvements

This commit is contained in:
Philipp
2020-09-19 22:49:44 +02:00
parent ac1d2cf38f
commit c41614fef1

View File

@@ -184,8 +184,7 @@ abstract class MailBuilder
*/
public function setHeader(string $name, string $value)
{
$this->headers[$name] = [];
$this->headers[$name][] = $value;
$this->headers[$name] = [$value];
return $this;
}