From: ts Date: 2000-12-14T02:28:35+09:00 Subject: [ruby-talk:7163] Re: Hello and a question. >>>>> "J" == Jamey Cribbs writes: J> smtp = Net::SMTP.new J> smtp.start('130.102.202.23') When #start is a method it take arguments : : start( helo_domain = Socket.gethostname, \ account = nil, password = nil, authtype = nil ) : start( helo_domain = Socket.gethostname, \ account = nil, password = nil, authtype = nil ) {|smtp| .... } When #start is a _class_ method (i.e. Net::SMTP.start) its syntax is : start( address = 'localhost', port = 25, *protoargs ) : start( address = 'localhost', port = 25, *protoargs ) {|smtp| .... } is equal to Net::SMTP.new( address, port ).start( *protoargs ) This mean that in your example it try to open the smtp server "localhost" (no server was specified in #new) Try with smtp = Net::SMTP.start('130.102.202.23') Guy Decoux