shield_notifier v0.1.0 Shield.Notifier.Channel.Email

Delivers email asyncronusly to receipents using template and template data.

Examples

Shield.Notifier.Channel.Email.deliver(
  ["recipient@example.com"],
  :confirmation,
  %{identity: "Recipient", confirmation_url: "https://xyz.com/con?t=1234"}
)

Shield.Notifier.Channel.Email.deliver(
  ["recipient@example.com"],
  :recover_password,
  %{identity: "Recipient", recover_password_url: "https://x.co/rt?t=1opx"}
)

Summary

Functions

deliver(recipients, template, data)

Callback implementation for Shield.Notifier.Channel.deliver/3.