mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
fix
This commit is contained in:
1 parent
9e66e7a3e1
commit
ecd16de53f
5 files changed
+49
-15
No files matched your search
@@ -12,11 +12,14 @@ class TransactionalEmailChannel
|
||||
{
|
||||
public function send(User $notifiable, Notification $notification): void
|
||||
{
|
||||
$settings = InstanceSettings::get();
|
||||
if ($settings->extra_attributes?->get('smtp_active') !== true) {
|
||||
return;
|
||||
}
|
||||
$email = $notifiable->email;
|
||||
if (!$email) {
|
||||
return;
|
||||
}
|
||||
$settings = InstanceSettings::get();
|
||||
$this->bootConfigs($settings);
|
||||
$mailMessage = $notification->toMail($notifiable);
|
||||
|
||||
|
||||
Reference in new issue
Block a user