fix
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
namespace App\Notifications\TransactionalEmails;
|
||||
|
||||
use App\Notifications\Channels\EmailChannel;
|
||||
use App\Notifications\Channels\TransactionalEmailChannel;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
@@ -19,7 +18,7 @@ class TestEmail extends Notification implements ShouldQueue
|
||||
public function toMail(): MailMessage
|
||||
{
|
||||
$mail = new MailMessage();
|
||||
$mail->subject('Coolify Test Notification');
|
||||
$mail->subject('Test Notification');
|
||||
$mail->view('emails.test');
|
||||
return $mail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user