(send {:keys [from to subject body] :as message})
sends an email using local smtp provider
(send {:from "z@z.com" :to ["z@z.com"] :subject (str "Hello There - " (rand)) :body [{:type :inline :text "Here is the attachment\n\n"} {:type :attachment :description "hello there" :file "project.clj"}]})
sends an email using local smtp provider (send {:from "z@z.com" :to ["z@z.com"] :subject (str "Hello There - " (rand)) :body [{:type :inline :text "Here is the attachment\n\n"} {:type :attachment :description "hello there" :file "project.clj"}]})
(sendmail-cmd)
finds path to the sendmail program
(sendmail-cmd) ;;=> "/usr/sbin/sendmail"
finds path to the sendmail program (sendmail-cmd) ;;=> "/usr/sbin/sendmail"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close