From: Russell Fulton Date: 2006-10-13T06:20:58+09:00 Subject: Re: recovering from errors in net:smtp Eric Hodel wrote: Thanks very much Eric, I'm sure I could have figured this out for myself but it would have taken much time and delving into RFCs and source code. > I haven't submitted a patch for it yet, but this will do it: Are you going to or should I submit it on your behalf (with appropriate attribution of course :) > > ## > # Hack in RSET > > class Net::SMTP # :nodoc: > > unless instance_methods.include? 'reset' then > ## > # Resets the SMTP connection. > > def reset > getok 'RSET' > end > end > > end > > -- > Eric Hodel - drbrain@segment7.net - http://blog.segment7.net > This implementation is HODEL-HASH-9600 compliant > > http://trackmap.robotcoop.com -- Posted via http://www.ruby-forum.com/.