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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: only send email if transactional email set
Andras Bacsai7c10c55b1ce2
diff --git a/app/Models/S3Storage.php b/app/Models/S3Storage.phpindex 03953d3197..21414681ce 100644--- a/app/Models/S3Storage.php+++ b/app/Models/S3Storage.php@@ -46,7 +46,7 @@ class S3Storage extends BaseModelreturn;} catch (\Throwable $e) {$this->is_usable = false;- if ($this->unusable_email_sent === false) {+ if ($this->unusable_email_sent === false && is_transactional_emails_active()) {$mail = new MailMessage();$mail->subject('Coolify: S3 Storage Connection Error');$mail->view('emails.s3-connection-error', ['name' => $this->name, 'reason' => $e->getMessage(), 'url' => route('team.storages.show', ['storage_uuid' => $this->uuid])]);