View Source Rivet.Email (rivet_email v1.0.5)

send(recip, template) send(recip, template, args)

For each good recipient call template.format(%@email_model{}, args), where email.user is preloaded on %@email_model{}

  • recip can be one or list of: user id, a user_model, or a email_model (models are defined ...
  • opts (optional) is a dictionary with key/value attributes to use in the template

Link to this section Summary

Link to this section Functions