Skip to content

Commit

Permalink
Merge pull request #4 from mrbig00/patch-1
Browse files Browse the repository at this point in the history
Bug #3: Set proper mail subject
  • Loading branch information
tuyakhov authored Oct 10, 2017
2 parents 2e6ab54 + a9932cc commit 018d7b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/channels/MailChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function send(NotifiableInterface $recipient, NotificationInterface $noti
$this->mailer->compose($message->view, $message->viewData)
->setFrom(isset($message->from) ? $message->from : $this->from)
->setTo($recipient->routeNotificationFor('mail'))
->setSubject($message->subject)
->send();
}
}
}

0 comments on commit 018d7b1

Please sign in to comment.