Resolves issue #92 ?

This commit is contained in:
djmaze 2021-05-25 15:31:48 +02:00
parent bea8a95c6b
commit b570dec683

View file

@ -301,9 +301,9 @@ class Message
return $this;
}
public function SetSender(EmailCollection $oEmails) : self
public function SetSender(Email $oEmail) : self
{
$this->aHeadersValue[Enumerations\Header::SENDER] = $oEmails;
$this->aHeadersValue[Enumerations\Header::SENDER] = $oEmail;
return $this;
}