taoensso.timbre.appenders.postal

Email (Postal) appender. Requires https://github.com/drewr/postal.

make-postal-appender

(make-postal-appender & [appender-merge opts])
DEPRECATED. Please use `postal-appender` instead.

postal-appender

(postal-appender postal-config & [{:keys [subject-len body-fn], :or {subject-len 150, body-fn (fn [output-str] [{:type "text/plain; charset=utf-8", :content output-str}])}}])
Returns a Postal email appender.
(postal-appender
  ^{:host "mail.isp.net" :user "jsmith" :pass "sekrat!!1"}
  {:from "Bob's logger <me@draines.com>" :to "foo@example.com"})