paranitips

Never stop learning! がモットーのゆるふわエンジニアブログ

メールのテスト用にmailcatcherを導入する

テストメール用にmailcatcherを導入しました。command not foundと言われてちょっと焦る。。。rbenvを使ってる場合はrbenv rehashが必要です。

$ gem install mailcatcher
$ mailcatcher
zsh: command not found: mailcatcher
$ rbenv rehash
$ 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.

参考