I''m added mail to my application and everytime I say deliver_confirm, I get an exception Errno::ECONNREFUSED (Connection refused - connect(2)): /usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize'' I tried doing two different smtp hosts but get the same problem. So I thought I''d actually look at the time where the exception is thrown. def connect( open_timeout ) LOG "opening connection to #{@address}..." timeout(open_timeout) { @socket = TCPsocket.new(@address, @port) } @rbuf = '''' end Wow look a log message with the address it is attempting to output. But it isn''t logging. Is there away to turn on the logging under LOG in the main rails source from inside your development code? Ron Davis I''ve got images in my head and I want to get them into my camera and portfolio. http://photo.reactuate.com/ _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails