(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 nilcljdoc 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 |