Allow Rails to send e-mail in development mode.
by Rabbit
Add this line to your config/environment.rb:
Rails::Initializer.run do |config|
...
config.action_mailer.delivery_method = :sendmail # add this line
end
Only tested in Rails 2.3.5 on OS X (10.6) (I don’t imagine this working by default on Windows), but I imagine it’ll work for any 2.x app. I dunno about Rails 3.x or 1.x. If you have more information, drop me a line in the comments.


