Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Kjell (misterk @forum.textdrive) http://station11.net

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

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:

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
}
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed