The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Enable SMTP debug logs with mail.debug JVM property (#67519)
Rodrigo López Dato58fe24da8578
diff --git a/src/metabase/channel/email.clj b/src/metabase/channel/email.cljindex a167bbaca6e..cb345ceeb73 100644--- a/src/metabase/channel/email.clj+++ b/src/metabase/channel/email.clj@@ -64,10 +64,11 @@(defn- add-mail-args"Adds any additionally needed mail properties needed for sending mail to the given map of args."[args]- (let [trust (System/getProperty "mail.smtps.ssl.trust")]- (if trust- (assoc args :ssl.trust trust)- args)))+ (let [trust (System/getProperty "mail.smtps.ssl.trust")+ debug-enabled? (= "true" (System/getProperty "mail.debug"))]+ (cond-> args+ trust (assoc :ssl.trust trust)+ debug-enabled? (assoc :debug true))));; ## PUBLIC INTERFACE