Current version: v0.0.4
Sends emails in background.
mix deps.get
iex -S mix phx.server
- Open localhost:4040
mix docs
- Open
doc/index.html
config :email_service, EmailService.Mailer,
adapter: Bamboo.SMTPAdapter,
from: {
"Your Name",
"[email protected]"
},
server: "your-smtp.host.com",
hostname: "your-smtp.host.com",
port: "587",
username: "your-smtp-user",
password: "your-smtp-password",
tls: :always,
allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"],
ssl: false,
retries: 1,
# can be `true`
no_mx_lookups: false