PewPew
This is a minimal client for the mailgun service.
Installation
Add to your dependencies:
def deps do
[{:pewpew, "~> 0.1.0"}]
end
Usage
You can create a mailer like so:
# Create a new mailer
m = PewPew.Mailer.new(
to: "test@example.com",
subject: "A subject!",
text: "Plain-text body"
)
# Send the mailer
PewPew.Mailer.send(m)
Documentation can be found at https://hexdocs.pm/pewpew.