2014-02-25 14:08 GMT+04:00 The Dude (Abides) <exel...@gmail.com>:

> (postal/send-message
>     ^{:host "smtp.mandrillapp.com"
>       :user "your mandrill acct email address"
>       :pass "your mandrill api key"
>       :port 587}
>      {:type "text/html"
>       :from "from email address"
>       :to "to email address"
>       :subject (render "Hi from {{firstname}}" {:firstname (session/get
> :firstname)})
>       :body [{:type "text/html; charset=utf-8"
>               :content (render-resource
> "email/templates/hello.html.mustache"
>                {:name "Uncle Scooby" :memberid (session/get :member-id)})
> }] })
>

Let me just say that the choice to use metadata to pass crucial connection
arguments
in Postal was wrong.

We will be replacing Postal in ClojureWerkz Mailer for this reason.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to