Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
rails dev environment and MockSmtp (for catching mails on dev machine) \n MacOS X \n config/environments/development.rb
Example::Application.configure do
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {:address => "localhost", :port => 1025, :domain => ''}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment