Skip to content

Instantly share code, notes, and snippets.

@Lumbe
Created April 3, 2017 07:45
Show Gist options
  • Save Lumbe/e15ef12297d99d158b04a6b5b0346fe7 to your computer and use it in GitHub Desktop.
Save Lumbe/e15ef12297d99d158b04a6b5b0346fe7 to your computer and use it in GitHub Desktop.
Use mailcatcher to view emails in development mode

Use mailcatcher to view emails in development mode

Please don't put MailCatcher in your Gemfile. It is an application in its own right with its own dependencies that can't possibly interoperates with every version of rails. Simply:

gem install mailcatcher
mailcatcher

and it will be accessible at http://127.0.0.1:1080/

Or for the c9.io environment:

gem install mailcatcher
mailcatcher --http-port 8081 --http-ip $IP

and it will be accessible at https://-.c9.io:8081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment