From: Minero Aoki Date: 2001-12-28T16:58:16+09:00 Subject: [ruby-talk:29518] Re: I think I found the problem with the gateway Hi Dave, In mail "[ruby-talk:29459] I think I found the problem with the gateway" Dave Thomas wrote: > If this message appears on the ML, then the problem was due to an > incompatibility with the 1.6.6 net/smtp library. Code that worked fine > previously seemed not to send mail under 1.6.6: I changed the code to > use a different style of sending (#send_mail, rather than #ready) and > it seemed to start sending correctly again. I cannnot reproduce bug. Could you show me your code snip? My environment is: linux 2.2.14 qmail 1.0.3 ruby 1.6.6 (.tar.gz, got from ftp.ruby-lang.org) net/smtp 1.1.37 (bundled with ruby 1.6.6) test script: $:.slice! 0,3 # clear RUBYLIB require 'net/smtp' Net::SMTP.start( 'localhost', 25 ) {|smtp| smtp.ready( 'aamine', 'aamine@************' ) {|f| f << "From: aamine\r\n" f << "To: aamine@************\r\n" f << "Subject: mail ok?\r\n" f << "\r\n" f << "This is mail body.\r\n" } } -- Minero Aoki