Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(email-notifications): change notify method to notifyNow for immediate test email delivery

Andras Bacsai8f4b6f4403a1
diff --git a/app/Livewire/Notifications/Email.php b/app/Livewire/Notifications/Email.php
index 4b5d1c6a00..897e6cf06c 100644
--- a/app/Livewire/Notifications/Email.php
+++ b/app/Livewire/Notifications/Email.php
@@ -325,7 +325,7 @@ class Email extends Component
'test-email:'.$this->team->id,
$perMinute = 0,
function () {
- $this->team?->notify(new Test($this->testEmailAddress, 'email'));
+ $this->team?->notifyNow(new Test($this->testEmailAddress, 'email'));
$this->dispatch('success', 'Test Email sent.');
},
$decaySeconds = 10,
diff --git a/app/Livewire/SettingsEmail.php b/app/Livewire/SettingsEmail.php
index 73e8c73989..ca48e9b167 100644
--- a/app/Livewire/SettingsEmail.php
+++ b/app/Livewire/SettingsEmail.php
@@ -225,7 +225,7 @@ class SettingsEmail extends Component
'test-email:'.$this->team->id,
$perMinute = 0,
function () {
- $this->team?->notify(new Test($this->testEmailAddress));
+ $this->team?->notifyNow(new Test($this->testEmailAddress));
$this->dispatch('success', 'Test Email sent.');
},
$decaySeconds = 10,