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!)

Development Actionmailer setup problems (See related posts)

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
}

Comments on this post

lholden posts on Sep 21, 2005 at 18:59
try changing this line:
  :domain  => 'http://station11.net/',


to:
  :domain  => 'station11.net',

You need to create an account or log in to post comments to this site.


Related Posts