Skip to content

wonderschool/phoenix_swoosh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix.Swoosh

Build Status Inline docs Deps Status

Use Swoosh to easily send emails in your Phoenix project.

This module provides the ability to set the HTML and/or text body of an email by rendering templates.

See the docs for more information.

Installation

  1. Add phoenix_swoosh to your list of dependencies in mix.exs:
def deps do
  [{:phoenix_swoosh, "~> 0.2"}]
end
  1. (Optional - only for Elixir < 1.4) Ensure phoenix_swoosh is started before your application:
def application do
  [applications: [:phoenix_swoosh]]
end

Documentation

Documentation is written into the library, you will find it in the source code, accessible from iex and of course, it all gets published to hexdocs.

Contributing

Running tests

Clone the repo and fetch its dependencies:

$ git clone https://github.com/swoosh/phoenix_swoosh.git
$ cd phoenix_swoosh
$ mix deps.get
$ mix test

Building docs

$ MIX_ENV=docs mix docs

LICENSE

See LICENSE