Skip to content

Commit

Permalink
config mailcatcher in development.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
arashm committed Jul 30, 2013
1 parent 320d9f9 commit d4715a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environments/development.rb
Expand Up @@ -41,5 +41,7 @@
sender_address: 'do_not_reply@nerdnews.ir',
exception_recipients: "h.ramezanian@jnaqsh.com"

config.action_mailer.delivery_method = :letter_opener
# Configure to use with mailcatcher
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
end

0 comments on commit d4715a0

Please sign in to comment.