mrloyal 7ff96fabe1 | ||
---|---|---|
lib | ||
test | ||
.formatter.exs | ||
.gitignore | ||
README.md | ||
mix.exs | ||
mix.lock |
README.md
Swoosh Mailinator
This project is an adapter for swoosh that relais any email to the Mailinator.com SMTP server, no mater the internet domain of the recipient.
Mailinator does not support multipart messages (they are processed as attachment which are ignored). So the adapter ensure that there is only htlm or text part and not both.
The service provides no encryption in transit (SSL/TLS) nor authentication.
The service provides public access to mailboxes.
Don't use this adapter for private or confidential information.
Use for tests only.
Installation
This module can be installed by adding swoosh_mailinator
to your list of dependencies in mix.exs
:
def deps do
[
{:swoosh_mailinator, "~> 0.2.0", git: "https://git.zoocoop.com/setop/swoosh_mailinator"}
]
end
Usage
# config/config.exs
config :sample, Sample.Mailer,
adapter: Swoosh.Adapters.Mailinator
# lib/sample/mailer.ex
defmodule Sample.Mailer do
use Swoosh.Mailer, otp_app: :sample
end
see also test/swoosh_mlntr.exs