Skip to content

A simple STMP and HTTP server to catch and view received emails. To be used in Elixir apps.

Notifications You must be signed in to change notification settings

vfsoraki/mail_catchex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailCatchex

A super simple SMTP server with a simpler UI to catch all emails sent to it. Useful for seeing sent emails while developing.

Inspired by mailcatcher for Ruby.

Installation

The package can be installed by adding mail_catchex to your list of dependencies in mix.exs:

def deps do
  [
    {:mail_catchex, "~> 0.1.0", only: :dev}
  ]
end

Usage

Add MailCatchex.Supervisor to your supervision tree. Like:

{MailCatchex.Supervisor, [smtp_port: 2525, http_port: 2526]}

Both ports are optional, and the above values are the default ones.

Then point your send address to localhost:2525 and point browser to localhost:2526 to see received emails.

License

Do what you want. Some credits would be nice, but totally optional.

About

A simple STMP and HTTP server to catch and view received emails. To be used in Elixir apps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published