bamboo v0.6.0 Bamboo.MandrillHelper
Functions for using features specific to Mandrill e.g. tagging, merge vars
Summary
Functions
Put extra message parameters that are used by Mandrill
Set a single tag or multiple tags for an email
Functions
Put extra message parameters that are used by Mandrill
Parameters set with this function are sent to Mandrill when used along with
the Bamboo.MandrillAdapter. You can set things like important
, merge_vars
,
and whatever else you need that the Mandrill API supports.
Example
email
|> put_param(email, "track_opens", true)
|> put_param(email, "mege_vars", "merge_vars": [
%{
rcpt: "recipient.email@example.com",
vars: [
%{
"name": "merge2",
"content": "merge2 content"
}
]
}
])