You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Cabo edited this page Feb 12, 2015
·
1 revision
Start mailcatcher:
$ 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.
Open a Rails console:
$ script/rails console
Send an email via RequestMailer:
> r = InfoRequest.last
> RequestMailer.overdue_alert(r, r.user).deliver
That's it, your outgoing email should show up in MailCatcher. And you don't need to restart the Rails console for edits to the template to take effect. Yay.