diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Mime/Message.php b/snappymail/v/0.0.0/app/libraries/MailSo/Mime/Message.php index 7b91656d0..561253036 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Mime/Message.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Mime/Message.php @@ -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; }