summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/net/smtp.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index e525bbb0cf..29862eac12 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -815,6 +815,12 @@ module Net
public
+ # Aborts the current mail transaction
+
+ def rset
+ getok('RSET')
+ end
+
def starttls
getok('STARTTLS')
end