(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |