I spent today getting a mailer setup locally. Everything was well so I commited my changes and went about making sure it was working on the production box. Well, it wasn''t. Here''s the setup. I have a method in my Statistic model that send the mail through a method in a mailer. I am using script/runner to send this mail periodically. When I use this: ----- script/runner -e development "Statistic.send_acp_announce" ----- I get no errors, but no mail is ever sent. When I use this: ----- script/runner -e production "Statistic.send_acp_announce" ----- I get this: ----- /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/runner.rb:27: / usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize'': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/protocol.rb:83:in `connect'' from /usr/lib/ruby/1.8/net/protocol.rb:82:in `timeout'' from /usr/lib/ruby/1.8/timeout.rb:62:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:82:in `connect'' from /usr/lib/ruby/1.8/net/protocol.rb:64:in `initialize'' from /usr/lib/ruby/1.8/net/smtp.rb:393:in `do_start'' from /usr/lib/ruby/1.8/net/smtp.rb:378:in `start'' from /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'' ... 8 levels... from /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/ runner.rb:27 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:214:in `require'' from script/runner:3 ----- There is no difference in the ActionMailer config between the two environments. I am thinking that while the development runner throws no errors, it is really breaking somewhere too. Anyone experienced this kind of thing before? Brad Daily bradleyboy productions brad@bradleyboy.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/e2e23899/attachment.html