Skip to content

Commit

Permalink
Merge pull request #5 from Linkdup/patch-1
Browse files Browse the repository at this point in the history
Update MailgunSwiftTransport.php
  • Loading branch information
lekoala authored Jan 29, 2021
2 parents 0b5e811 + ec3b2be commit 841c329
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/MailgunSwiftTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,6 @@ public function buildMessage(Swift_Mime_Message $message)
if ($primaryEmail === null) {
$primaryEmail = $toEmail;
}
if (!$toName) {
$toName = $toEmail;
}
if ($toName) {
$recipients[] = sprintf('%s <%s>', $toName, $toEmail);
} else {
Expand Down

0 comments on commit 841c329

Please sign in to comment.