diff --git a/lib/accounts.rb b/lib/accounts.rb index e814f0a7..a99bf61e 100644 --- a/lib/accounts.rb +++ b/lib/accounts.rb @@ -62,6 +62,7 @@ module Accounts def can_send_emails?(account) return true if Docuseal.multitenant? + return true if ENV['SMTP_ADDRESS'].present? EncryptedConfig.exists?(account_id: account.id, key: EncryptedConfig::EMAIL_SMTP_KEY) end