Development Actionmailer setup problems
Has anyone been able to do this? My ActionMailer works fine when it's on barclay, but for developing locally I can't make a connection. I get:
My isp doesn't block port 25:
And my ActionMailer config in config/environments/development.rb is this:
Errno::ECONNREFUSED in Contact#index Connection refused - connect(2) /app/controllers/contact_controller.rb:6:in `index'
My isp doesn't block port 25:
[] % telnet barclay.textdrive.com 25 Trying 207.7.108.37... Connected to barclay.textdrive.com. Escape character is '^]'. 220 barclay.textdrive.com ESMTP Postfix ^]
And my ActionMailer config in config/environments/development.rb is this:
ActionMailer::Base.server_settings = { :address => "barclay.textdrive.com", :port => 25, :domain => 'http://station11.net/', :user_name => "#{username}", # without @domain :password => "#{password}", :authentication => :plain }