Can't get mail to work with MailCatcher


(Travis) #1

I’m trying to set up a new development install. Now that having SMTP set up is required, I’ve been trying to use MailCatcher instead.

It appears that in development.rb it’s set up to use this already. I don’t understand why I’m not getting anything coming on. I feel like I must be missing something along the way in the setup.

Any ideas?

Edit: I “confirmed” my account directly in the db but I’d still like to get mailcatcher working for future dev.


(Jens Maier) #2

I vaguely recall a similar issue altho I’m not sure what it was exactly. Try running mailcatcher with mailcatcher --smtp-ip ::1. That is the IPv6 loopback address to which Discourse might try to connect depending on how your system resolves the name “localhost”.


(Arpit Jalan) #3

These are the steps required to get mailcatcher to work:

gem install mailcatcher
mailcatcher --http-ip 0.0.0.0

Then go to http://localhost:1080, to see the emails.