From: Brian Candler Date: 2011-11-03T06:58:56+09:00 Subject: Re: Ruby and Telnet Leo M. wrote in post #1029741: > Because I want to perform a smtp reverse lookup! And what do you mean by "a smtp reverse lookup"?? If you want to talk SMTP directly, then you first need to read and fully understand RFC 2821. Then use TCPSocket.new('smtp.example.com',25) and use the socket directly. There are lots of pitfalls - e.g. remember to send \r\n at the end of each line, instead of \n, to be properly compatible. As someone else said: just use Net::SMTP where all this has been taken care of. -- Posted via http://www.ruby-forum.com/.