Liking cljdoc? Tell your friends :D
Clojure only.

hara.platform.mail.local


sendclj

(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"}]})
raw docstring

sendmail-cmdclj

(sendmail-cmd)

finds path to the sendmail program

(sendmail-cmd) ;;=> "/usr/sbin/sendmail"

finds path to the sendmail program

(sendmail-cmd)
;;=> "/usr/sbin/sendmail"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close