Mailcatcher application for Otto.
Add as a dependency in your Appfile:
application {
name = "example-app"
dependency {
source = "github.com/withassociates/otto-mailcatcher"
}
}
Configure ActionMailer to use mailcatcher’s SMTP server:
# config/environments/development.rb
config.action_mailer.smtp_settings = {
port: 1025,
address: "mailcatcher.service.consul",
}
Access Mailcatcher’s UI on the host machine:
$ open "http://$(otto dev address):1080/"