Sending emails

i get his error when using ActionMailer:

/usr/local/lib/ruby/1.8/timeout.rb:54:in new' /usr/local/lib/ruby/1.8/net/protocol.rb:206:inold_open’
/usr/local/lib/ruby/1.8/timeout.rb:56:in timeout' /usr/local/lib/ruby/1.8/timeout.rb:76:intimeout’
/usr/local/lib/ruby/1.8/net/protocol.rb:206:in old_open' /usr/local/lib/ruby/1.8/net/smtp.rb:393:indo_start’
/usr/local/lib/ruby/1.8/net/smtp.rb:378:in start' /usr/local/lib/ruby/1.8/net/smtp.rb:316:instart’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:447:in
perform_delivery_smtp' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:333:indeliver!’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:227:in
method_missing' #{RAILS_ROOT}/app/controllers/coders_controller.rb:43:increate’

in development.rb
ActionMailer::Base.server_settings = {
:address => ‘smtp.mydomain.com’,
:domain => ‘mydomain.com’,
:port => 25,
:user_name => ‘user’,
:password => ‘password’,
:authentication=>:login
}

Raj Kapila wrote:

i get his error when using ActionMailer:

/usr/local/lib/ruby/1.8/timeout.rb:54:in new' /usr/local/lib/ruby/1.8/net/protocol.rb:206:inold_open’
/usr/local/lib/ruby/1.8/timeout.rb:56:in timeout' /usr/local/lib/ruby/1.8/timeout.rb:76:intimeout’
/usr/local/lib/ruby/1.8/net/protocol.rb:206:in old_open' /usr/local/lib/ruby/1.8/net/smtp.rb:393:indo_start’
/usr/local/lib/ruby/1.8/net/smtp.rb:378:in start' /usr/local/lib/ruby/1.8/net/smtp.rb:316:instart’

Looks like your SMTP server timed out

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs