Issue #5373 has been updated by drbrain (Eric Hodel).

File net.smtp.rb.rset.patch added

Here is a patch with a test, may I commit?

There aren't many net/smtp tests so perhaps there is a better way than FakeSocket.
----------------------------------------
Feature #5373: SMTP - new method
https://bugs.ruby-lang.org/issues/5373#change-26516

Author: art.lussos (art  lussos)
Status: Feedback
Priority: Normal
Assignee: aamine (Minero Aoki)
Category: 
Target version: 


I would like to add the following method to smtp.rb command dispatcher section.

# The reset command tells the mail server that the current mail transaction should be aborted.
def reset
  getok('RSET')
end



-- 
http://bugs.ruby-lang.org/