email.ex
and you will see a list of functions that generate Swoosh email structs. Eg:Swoosh.Email
struct can be delivered to an email address by a Swoosh mailer (see mailer.ex
). Eg:email.ex
creates the Swoosh structs and the functions for actually delivering emails like the previous code example are in user_notifier.ex
. Think of email.ex
functions like view templates, and user_notifer.ex
functions like controller actions. email.ex
email_testing_controller.ex
that simply renders the html_body value of the structuser_notifier.ex
function for use in our application