vendredi 17 juillet 2015

Mailcatcher not working in Rails

I am trying get mailcatcher working with my Rails 3.2.x app. Added mailcatcher gem and bundled, and...

development.rb

config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    address: "localhost",
    port: 1025,
  }

I get the mailcatcher console at localhost:1080, but I get nothing when mails is sent. I am using delayed job, and can see delayed jobs being created and run, so I know the mails are being triggered in dev. What is my next step in troubleshooting this?

Aucun commentaire:

Enregistrer un commentaire