This commit is contained in:
Andras Bacsai
2023-06-21 10:53:24 +02:00
parent d0af38fb14
commit 1763e0341d
5 changed files with 33 additions and 40 deletions

View File

@@ -47,9 +47,9 @@ class Email extends Component
$this->validate();
}
}
public function test_email()
public function testNotification()
{
Notification::send($this->settings, new TestEmail);
$this->settings->notify(new TestEmail);
$this->emit('success', 'Test email sent.');
}
private function decrypt()