Bamboo SparkPost Adapter v1.0.0-rc.1 Bamboo.SparkPostHelper View Source
Functions for using features specific to SparkPost e.g. tagging
Link to this section Summary
Functions
Disable click tracking
Disable open tracking (SparkPost defaults to true)
Mark an email as transactional
Add meta data to an email
Put extra message parameters that are used by SparkPost
Set a single tag or multiple tags for an email
Link to this section Functions
Put extra message parameters that are used by SparkPost
Parameters set with this function are sent to SparkPost when used along with the Bamboo.SparkPostAdapter. You can set any additional parameters that the SparkPost API supports Other functions in this module provide a more convenient way of setting these parameters.
Example
email
|> put_param([:options, :open_tracking], false)
|> put_param(:tags, ["foo", "bar"])
|> put_param(:meta_data, %{foo: "bar"})