RubyFlow The Ruby and Rails community linklog

Using MockSMTP or MailCatcher only if it’s running (with Rails)

MockSMTP and MailCatcher are great tools when you’re trying to debug emails, but not everyone on your team necessarily has one of them installed (or maybe you just don’t have one of them running constantly).

Luckily using MailCatcher or MockSMTP conditionally in development is actually pretty easy.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in