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): transactional email sending

peaklabs-deva230a4259939
diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.php
index 6ffe5c4d79..98536d3466 100644
--- a/app/Notifications/Channels/EmailChannel.php
+++ b/app/Notifications/Channels/EmailChannel.php
@@ -53,6 +53,7 @@ class EmailChannel
if (! $type) {
throw new Exception('No email settings found.');
}
+ config()->set('mail.default', $type);
return;
}