Go to file
mrloyal 7ff96fabe1 feat: allow text message 2024-06-19 16:44:36 +02:00
lib feat: allow text message 2024-06-19 16:44:36 +02:00
test feat: allow text message 2024-06-19 16:44:36 +02:00
.formatter.exs MVP 2024-06-04 21:14:56 +02:00
.gitignore MVP 2024-06-04 21:14:56 +02:00
README.md feat: allow text message 2024-06-19 16:44:36 +02:00
mix.exs feat: allow text message 2024-06-19 16:44:36 +02:00
mix.lock MVP 2024-06-04 21:14:56 +02:00

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