net.gutefrage
This class is the entry point for creating Mandrill API Requests.
This class is the entry point for creating Mandrill API Requests. Its structure mimics the REST API for easy cross referencing.
Every Mandrill instance needs an API key.
Mandrill
val sendTemplateBody = Mandrill(apiKey) .messages .sendTemplate("my-template-slug") .to("foo@bar.com")
import net.gutefrage.mandrill._ import net.gutefrage.mandrill.core._ val apiKey = MandrillApiKey("your-api-key") val mandrill = Mandrill(apiKey)
A concrete sendTemplate request can be created in a fluent style:
sendTemplate
https://mandrillapp.com/api/docs/
API for generating requests.
Mandrill
This class is the entry point for creating Mandrill API Requests. Its structure mimics the REST API for easy cross referencing.
Usage
Every
Mandrill
instance needs an API key.A concrete
sendTemplate
request can be created in a fluent style:https://mandrillapp.com/api/docs/