EpochtalkServer.Mailer (epochtalk_server v0.1.0)
Used to generate and send emails from the API to a User
.
Link to this section Summary
Link to this section Functions
Link to this function
deliver(email, config \\ [])
@spec deliver(Swoosh.Email.t(), Keyword.t()) :: {:ok, term()} | {:error, term()}
Link to this function
deliver!(email, config \\ [])
@spec deliver!(Swoosh.Email.t(), Keyword.t()) :: term() | no_return()
Link to this function
deliver_many(emails, config \\ [])
@spec deliver_many( [ %Swoosh.Email{ assigns: term(), attachments: term(), bcc: term(), cc: term(), from: term(), headers: term(), html_body: term(), private: term(), provider_options: term(), reply_to: term(), subject: term(), text_body: term(), to: term() } ], Keyword.t() ) :: {:ok, term()} | {:error, term()}
Link to this function
send_confirm_account(user)
@spec send_confirm_account(recipient :: EpochtalkServer.Models.User.t()) :: {:ok, term()} | {:error, term()}
Sends confirmation email