Liking cljdoc? Tell your friends :D

toyokumo.commons.email.send-grid


bounce-urlclj

source

json-mapperclj

source

new-send-gridclj

(new-send-grid {:keys [:api-token :default-email-body :max-retry :retry-wait
                       :rate-limit]})

Create a SendGrid instance

api-token - token that you get from SendGrid required default-email-body - a map such as {:from {:email "..." :name "..."}} which is merged with mail send parameters See https://sendgrid.api-docs.io/v3.0/mail-send/v3-mail-send optional, default nil max-retry - the number of retries that run when a send request fails unexpectedly optional, default 0 retry-wait - milliseconds between retry optional, default 1000 rate-limit - send limit per second optional, default nil

Create a SendGrid instance

api-token          -  token that you get from SendGrid
                      required
default-email-body -  a map such as {:from {:email "..." :name "..."}} which is merged
                      with mail send parameters
                      See https://sendgrid.api-docs.io/v3.0/mail-send/v3-mail-send
                      optional, default nil
max-retry          -  the number of retries that run when a send request fails unexpectedly
                      optional, default 0
retry-wait         -  milliseconds between retry
                      optional, default 1000
rate-limit         -  send limit per second
                      optional, default nil
sourceraw docstring

send-urlclj

source

SendGridclj

source

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

× close