Packages

Internal utils and helper snippets used across our internal projects. Copy and re-use as you like.

Current section

Files

Jump to
omtt_util lib util_smtp_mock.ex
Raw

lib/util_smtp_mock.ex

defmodule OMTT.Util.SMTPMock do
require Logger
def send_html(from, to_recipients, subject, body, server, username, password, port) do
Logger.info "EMAIL WOULD BE SENT TO #{inspect to_recipients} from #{from}"
Logger.info "EMAIL BODY\n#{body}"
end
end