From 8947579dc275b11e418a138d4a0f093b92261e51 Mon Sep 17 00:00:00 2001 From: BMTmohammedtaha Date: Fri, 29 Dec 2023 01:01:47 -0800 Subject: [PATCH] update 'to' method its now work like '$this->addTo($email)' instead '$this->setTo($email)' --- src/MailSimpleTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MailSimpleTrait.php b/src/MailSimpleTrait.php index db5e5ad..0bfe440 100644 --- a/src/MailSimpleTrait.php +++ b/src/MailSimpleTrait.php @@ -29,7 +29,7 @@ public function from(string|Address $email): self */ public function to(string|Address $email): self { - return $this->setTo($email); + return $this->addTo($email); } /**