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

« 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 25
Connected to
Escape character is '^]'.
220 ESMTP Postfix

And my ActionMailer config in config/environments/development.rb is this:

ActionMailer::Base.server_settings = {
  :address  => "",
  :port  => 25, 
  :domain  => '',
  :user_name  => "#{username}", # without @domain
  :password  => "#{password}",
  :authentication  => :plain
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed