Auth.Email (auth v1.6.6)
Link to this section Summary
Functions
sendemail/1
sends an email using AWS SES.
see: https://github.com/dwyl/email#sending-email
params is a map that must contain the keys: email, name and template.
Link to this section Functions
Link to this function
sendemail(params)
sendemail/1
sends an email using AWS SES.
see: https://github.com/dwyl/email#sending-email
params is a map that must contain the keys: email, name and template.
examples
Examples
iex> sendemail(%{"email" => "te@st.co", "name" => "Al", "template" => "hi"}) %{ "aud" => "Joken", "email" => "te@st.co", "exp" => 1616864371, "iat" => 1585327371, "id" => 33, "iss" => "Joken", "jti" => "2o03dm2ktf6f1j74es0001e3", "name" => "Al", "nbf" => 1585327371, "status" => "Pending", "template" => "hi" }