Skip to content

Commit

Permalink
Fixed Email plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
corpsee committed Jun 29, 2022
1 parent c9cf93b commit 62e6f85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Notification/EmailNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ protected function initPluginSettings(): void
* @param string $subject EmailNotify subject
* @param string $body EmailNotify body
*/
private function sendEmail(string $toAddress, array $ccList, string $subject, string $body): int
private function sendEmail(string $toAddress, array $ccList, string $subject, string $body): bool
{
$email = new Email();

$email->setEmailTo($toAddress);
$email->addEmailTo($toAddress);
$email->setSubject($subject);
$email->setBody($body);
$email->setIsHtml(true);
Expand Down

0 comments on commit 62e6f85

Please sign in to comment.