Skip to content

Instantly share code, notes, and snippets.

@fazni
Last active May 23, 2018 10:27
Show Gist options
  • Save fazni/cc9d21953813bfc624da1706e874ce04 to your computer and use it in GitHub Desktop.
Save fazni/cc9d21953813bfc624da1706e874ce04 to your computer and use it in GitHub Desktop.
Setting Up Mailcatcher

1 - Ruby Installation
sudo apt-get install ruby ruby-dev rubygems libsqlite3-dev
2 - Installing MailCatcher sudo gem install mailcatcher
3 - Getting started
[fazni]-[~] "Terminal" $ mailcatcher Starting MailCatcher
==> smtp://127.0.0.1:1025
==> http://127.0.0.1:1080
*** MailCatcher runs as a daemon by default. Go to the web interface to quit.
4 - Use with PHP -- php.ini
---- sendmail_path = /usr/bin/env catchmail

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