Rails: Devise not sending confirmation email in production (Heroku)
问题 I'm trying to set up email confirmation for new users for my site on Heroku. It works fine in development (it's sent from the correct email, even though I never specified it in development.rb) Here is the code in development.rb: (I was using MailCatcher) config.action_mailer.raise_delivery_errors = true config.action_mailer.default_url_options = { :host => 'localhost:3000'} config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = {:address => "localhost", :port =>