Rivet.Email.Template.Helpers (rivet_email v2.5.0)

View Source

Summary

Functions

useful function to normalize different ways email addrs may come in.

Functions

email_addr(addr)

useful function to normalize different ways email addrs may come in.

iex> email_addr("this@that") "this@that" iex> email_addr({10, "this@that"}) "this@that" iex> email_addr(%{address: "this@that"}) "this@that"