Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6f1db6

Browse files
committedApr 29, 2019
headers encoding
1 parent 9a22031 commit e6f1db6

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed
 

‎src/Message.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,11 @@ public function getBcc()
148148
public function setFrom($email, $name = "")
149149
{
150150
$email = (string)$email;
151-
if (!$email) return false;
152-
if (!$this->checkEmail($email)) return false;
151+
if (!$email) return $this;
152+
if (!$this->checkEmail($email)) return $this;
153153
$contact = $this->getContact($email, $name);
154154
$this->setHeaderRaw("From", $contact);
155+
return $this;
155156
}
156157

157158
public function getRecipients()

‎src/Message/MessagePart.php

-22
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.