vv

Clojure code posted
created at 04 May 01:02

Edit | Back
1
2
3
4
5
6
7
8
9
10
(defn- email-activation-code [{:keys [email username activation_code]}]
  (future (mailer/send-email 
              {:from config/emails-from
               :to email
               :subject "Account activation"
               :body (str "Hi " username ",\n\n"
                          "To activate your " config/app-name 
                          " account just follow the link below:\n\n"
                          (str (common/base-url) "/activate/" activation_code)
                          "\n\nCheers!")})))
525 Bytes in 4 ms with coderay